{"action":"created","comment":{"url":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/comments/76402271","id":76402271,"diff_hunk":"@@ -1,35 +1,12 @@\n require 'transloadit'\n \n #\n-# Represents a Assembly ready to be sent to the REST API for processing. An\n-# Assembly can contain one or more Steps for processing or point to a\n-# server-side template. It's submitted along with a list of files to process,\n-# at which point Transloadit will process and store the files according to the\n-# rules in the Assembly.\n+# Represents an Assembly API ready to make calls to the REST API endpoints.\n #\n-# See the Transloadit {documentation}[http://transloadit.com/docs/building-assembly-instructions]\n-# for futher information on Assemblies and their parameters.\n+# See the Transloadit {documentation}[https://transloadit.com/docs/api-docs/#assembly-api]\n+# for futher information on Assemblies and available endpoints.\n #\n-class Transloadit::Assembly\n-  # @return [Transloadit] the associated Transloadit instance\n-  attr_reader   :transloadit\n-\n-  # @return [Hash] the options describing the Assembly\n-  attr_accessor :options\n-\n-  #\n-  # Creates a new Assembly authenticated using the given +transloadit+\n-  # instance.\n-  #\n-  # @param [Transloadit] transloadit the associated Transloadit instance\n-  # @param [Hash]        options     the configuration for the Assembly;\n-  #   see {Transloadit#assembly}\n-  #\n-  def initialize(transloadit, options = {})\n-    self.transloadit = transloadit\n-    self.options     = options\n-  end\n-\n+class Transloadit::Assembly < Transloadit::API","path":"lib/transloadit/assembly.rb","position":36,"original_position":36,"commit_id":"611b3401ecd49b2d4976db9b97b8ae72c60e9e15","original_commit_id":"611b3401ecd49b2d4976db9b97b8ae72c60e9e15","user":{"login":"tim-kos","id":15005,"avatar_url":"https://avatars.githubusercontent.com/u/15005?v=3","gravatar_id":"","url":"https://api.github.com/users/tim-kos","html_url":"https://github.com/tim-kos","followers_url":"https://api.github.com/users/tim-kos/followers","following_url":"https://api.github.com/users/tim-kos/following{/other_user}","gists_url":"https://api.github.com/users/tim-kos/gists{/gist_id}","starred_url":"https://api.github.com/users/tim-kos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tim-kos/subscriptions","organizations_url":"https://api.github.com/users/tim-kos/orgs","repos_url":"https://api.github.com/users/tim-kos/repos","events_url":"https://api.github.com/users/tim-kos/events{/privacy}","received_events_url":"https://api.github.com/users/tim-kos/received_events","type":"User","site_admin":false},"body":"Not sure if \"API\" is a good word here. You want to name a parent for both \"Assembly\" and \"Template\" correct? How about \"TransloaditApiObject\" or \"ApiObject\"? \"API\" is too general I feel.","created_at":"2016-08-26T11:12:52Z","updated_at":"2016-08-26T11:12:52Z","html_url":"https://github.com/transloadit/ruby-sdk/pull/31#discussion_r76402271","pull_request_url":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/comments/76402271"},"html":{"href":"https://github.com/transloadit/ruby-sdk/pull/31#discussion_r76402271"},"pull_request":{"href":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/31","id":82720356,"html_url":"https://github.com/transloadit/ruby-sdk/pull/31","diff_url":"https://github.com/transloadit/ruby-sdk/pull/31.diff","patch_url":"https://github.com/transloadit/ruby-sdk/pull/31.patch","issue_url":"https://api.github.com/repos/transloadit/ruby-sdk/issues/31","number":31,"state":"open","locked":false,"title":"New api features","user":{"login":"ifedapoolarewaju","id":8383781,"avatar_url":"https://avatars.githubusercontent.com/u/8383781?v=3","gravatar_id":"","url":"https://api.github.com/users/ifedapoolarewaju","html_url":"https://github.com/ifedapoolarewaju","followers_url":"https://api.github.com/users/ifedapoolarewaju/followers","following_url":"https://api.github.com/users/ifedapoolarewaju/following{/other_user}","gists_url":"https://api.github.com/users/ifedapoolarewaju/gists{/gist_id}","starred_url":"https://api.github.com/users/ifedapoolarewaju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifedapoolarewaju/subscriptions","organizations_url":"https://api.github.com/users/ifedapoolarewaju/orgs","repos_url":"https://api.github.com/users/ifedapoolarewaju/repos","events_url":"https://api.github.com/users/ifedapoolarewaju/events{/privacy}","received_events_url":"https://api.github.com/users/ifedapoolarewaju/received_events","type":"User","site_admin":false},"body":"New features for `Transloadit > Template` and `Transloadit > Assembly` API\r\n\r\n@rmehner This is a lot of changes. 😞 I have a feeling you might have suggestions with better approach for some parts of the changes. Please review when you get the chance. :)\r\n\r\nPS. this PR already combines [this old PR](https://github.com/transloadit/ruby-sdk/pull/30) with it.","created_at":"2016-08-25T13:34:03Z","updated_at":"2016-08-26T11:12:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f30fa7039178613897a23c1064dc70d9a9183f9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/31/commits","review_comments_url":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/31/comments","review_comment_url":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/transloadit/ruby-sdk/issues/31/comments","statuses_url":"https://api.github.com/repos/transloadit/ruby-sdk/statuses/611b3401ecd49b2d4976db9b97b8ae72c60e9e15","head":{"label":"ifedapoolarewaju:new_api_features","ref":"new_api_features","sha":"611b3401ecd49b2d4976db9b97b8ae72c60e9e15","user":{"login":"ifedapoolarewaju","id":8383781,"avatar_url":"https://avatars.githubusercontent.com/u/8383781?v=3","gravatar_id":"","url":"https://api.github.com/users/ifedapoolarewaju","html_url":"https://github.com/ifedapoolarewaju","followers_url":"https://api.github.com/users/ifedapoolarewaju/followers","following_url":"https://api.github.com/users/ifedapoolarewaju/following{/other_user}","gists_url":"https://api.github.com/users/ifedapoolarewaju/gists{/gist_id}","starred_url":"https://api.github.com/users/ifedapoolarewaju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifedapoolarewaju/subscriptions","organizations_url":"https://api.github.com/users/ifedapoolarewaju/orgs","repos_url":"https://api.github.com/users/ifedapoolarewaju/repos","events_url":"https://api.github.com/users/ifedapoolarewaju/events{/privacy}","received_events_url":"https://api.github.com/users/ifedapoolarewaju/received_events","type":"User","site_admin":false},"repo":{"id":64491967,"name":"ruby-sdk","full_name":"ifedapoolarewaju/ruby-sdk","owner":{"login":"ifedapoolarewaju","id":8383781,"avatar_url":"https://avatars.githubusercontent.com/u/8383781?v=3","gravatar_id":"","url":"https://api.github.com/users/ifedapoolarewaju","html_url":"https://github.com/ifedapoolarewaju","followers_url":"https://api.github.com/users/ifedapoolarewaju/followers","following_url":"https://api.github.com/users/ifedapoolarewaju/following{/other_user}","gists_url":"https://api.github.com/users/ifedapoolarewaju/gists{/gist_id}","starred_url":"https://api.github.com/users/ifedapoolarewaju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifedapoolarewaju/subscriptions","organizations_url":"https://api.github.com/users/ifedapoolarewaju/orgs","repos_url":"https://api.github.com/users/ifedapoolarewaju/repos","events_url":"https://api.github.com/users/ifedapoolarewaju/events{/privacy}","received_events_url":"https://api.github.com/users/ifedapoolarewaju/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ifedapoolarewaju/ruby-sdk","description":"Transloadit's official Ruby SDK, maintained by the community","fork":true,"url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk","forks_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/forks","keys_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/teams","hooks_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/hooks","issue_events_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/events","assignees_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/tags","blobs_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/languages","stargazers_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/stargazers","contributors_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/contributors","subscribers_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/subscribers","subscription_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/subscription","commits_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/merges","archive_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/downloads","issues_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/labels{/name}","releases_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/ifedapoolarewaju/ruby-sdk/deployments","created_at":"2016-07-29T15:44:37Z","updated_at":"2016-07-29T15:44:38Z","pushed_at":"2016-08-25T13:41:56Z","git_url":"git://github.com/ifedapoolarewaju/ruby-sdk.git","ssh_url":"git@github.com:ifedapoolarewaju/ruby-sdk.git","clone_url":"https://github.com/ifedapoolarewaju/ruby-sdk.git","svn_url":"https://github.com/ifedapoolarewaju/ruby-sdk","homepage":"https://transloadit.com/","size":189,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"transloadit:master","ref":"master","sha":"6b5dd23cc3edd01697037a9dc77ba81563709d13","user":{"login":"transloadit","id":125754,"avatar_url":"https://avatars.githubusercontent.com/u/125754?v=3","gravatar_id":"","url":"https://api.github.com/users/transloadit","html_url":"https://github.com/transloadit","followers_url":"https://api.github.com/users/transloadit/followers","following_url":"https://api.github.com/users/transloadit/following{/other_user}","gists_url":"https://api.github.com/users/transloadit/gists{/gist_id}","starred_url":"https://api.github.com/users/transloadit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transloadit/subscriptions","organizations_url":"https://api.github.com/users/transloadit/orgs","repos_url":"https://api.github.com/users/transloadit/repos","events_url":"https://api.github.com/users/transloadit/events{/privacy}","received_events_url":"https://api.github.com/users/transloadit/received_events","type":"Organization","site_admin":false},"repo":{"id":1271346,"name":"ruby-sdk","full_name":"transloadit/ruby-sdk","owner":{"login":"transloadit","id":125754,"avatar_url":"https://avatars.githubusercontent.com/u/125754?v=3","gravatar_id":"","url":"https://api.github.com/users/transloadit","html_url":"https://github.com/transloadit","followers_url":"https://api.github.com/users/transloadit/followers","following_url":"https://api.github.com/users/transloadit/following{/other_user}","gists_url":"https://api.github.com/users/transloadit/gists{/gist_id}","starred_url":"https://api.github.com/users/transloadit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transloadit/subscriptions","organizations_url":"https://api.github.com/users/transloadit/orgs","repos_url":"https://api.github.com/users/transloadit/repos","events_url":"https://api.github.com/users/transloadit/events{/privacy}","received_events_url":"https://api.github.com/users/transloadit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/transloadit/ruby-sdk","description":"Transloadit's official Ruby SDK, maintained by the community","fork":false,"url":"https://api.github.com/repos/transloadit/ruby-sdk","forks_url":"https://api.github.com/repos/transloadit/ruby-sdk/forks","keys_url":"https://api.github.com/repos/transloadit/ruby-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/transloadit/ruby-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/transloadit/ruby-sdk/teams","hooks_url":"https://api.github.com/repos/transloadit/ruby-sdk/hooks","issue_events_url":"https://api.github.com/repos/transloadit/ruby-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/transloadit/ruby-sdk/events","assignees_url":"https://api.github.com/repos/transloadit/ruby-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/transloadit/ruby-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/transloadit/ruby-sdk/tags","blobs_url":"https://api.github.com/repos/transloadit/ruby-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/transloadit/ruby-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/transloadit/ruby-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/transloadit/ruby-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/transloadit/ruby-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/transloadit/ruby-sdk/languages","stargazers_url":"https://api.github.com/repos/transloadit/ruby-sdk/stargazers","contributors_url":"https://api.github.com/repos/transloadit/ruby-sdk/contributors","subscribers_url":"https://api.github.com/repos/transloadit/ruby-sdk/subscribers","subscription_url":"https://api.github.com/repos/transloadit/ruby-sdk/subscription","commits_url":"https://api.github.com/repos/transloadit/ruby-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/transloadit/ruby-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/transloadit/ruby-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/transloadit/ruby-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/transloadit/ruby-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/transloadit/ruby-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/transloadit/ruby-sdk/merges","archive_url":"https://api.github.com/repos/transloadit/ruby-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/transloadit/ruby-sdk/downloads","issues_url":"https://api.github.com/repos/transloadit/ruby-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/transloadit/ruby-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/transloadit/ruby-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/transloadit/ruby-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/transloadit/ruby-sdk/labels{/name}","releases_url":"https://api.github.com/repos/transloadit/ruby-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/transloadit/ruby-sdk/deployments","created_at":"2011-01-19T16:04:28Z","updated_at":"2016-06-26T02:09:46Z","pushed_at":"2016-08-25T13:41:56Z","git_url":"git://github.com/transloadit/ruby-sdk.git","ssh_url":"git@github.com:transloadit/ruby-sdk.git","clone_url":"https://github.com/transloadit/ruby-sdk.git","svn_url":"https://github.com/transloadit/ruby-sdk","homepage":"https://transloadit.com/","size":181,"stargazers_count":22,"watchers_count":22,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":3,"forks":15,"open_issues":3,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/31"},"html":{"href":"https://github.com/transloadit/ruby-sdk/pull/31"},"issue":{"href":"https://api.github.com/repos/transloadit/ruby-sdk/issues/31"},"comments":{"href":"https://api.github.com/repos/transloadit/ruby-sdk/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/transloadit/ruby-sdk/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/transloadit/ruby-sdk/statuses/611b3401ecd49b2d4976db9b97b8ae72c60e9e15"}}}}
{"actor":{"display_login":"tim-kos"}}