{"action":"created","comment":{"url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/comments/27716199","id":27716199,"diff_hunk":"@@ -0,0 +1,53 @@\n+module Ecommerce\n+  module Resources\n+    #\n+    # A wrapper to Ecommerce orders invoice API\n+    #\n+    # [API]\n+    #   Documentation: http://myfreecomm.github.io/passaporte-web/ecommerce/api/index.html\n+    #\n+    class InvoiceOrder < Base\n+\n+      attr_reader :redeemed_adjustments, :order_url, :url, :created_at, :activated_at, :number, :user_data,\n+                  :amount_with_adjustments, :amount, :paid, :payment_method, :plan_data, :charge_date, ","path":"lib/ecommerce/resources/invoice_order.rb","position":12,"original_position":12,"commit_id":"7e92c12713fa8adc505a2fe1574197e310c61974","original_commit_id":"7e92c12713fa8adc505a2fe1574197e310c61974","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [103/80]<br>Trailing whitespace detected.","created_at":"2015-04-03T05:37:17Z","updated_at":"2015-04-03T05:37:17Z","html_url":"https://github.com/myfreecomm/ecommerce-client-ruby/pull/5#discussion_r27716199","pull_request_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/comments/27716199"},"html":{"href":"https://github.com/myfreecomm/ecommerce-client-ruby/pull/5#discussion_r27716199"},"pull_request":{"href":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/5","id":32548588,"html_url":"https://github.com/myfreecomm/ecommerce-client-ruby/pull/5","diff_url":"https://github.com/myfreecomm/ecommerce-client-ruby/pull/5.diff","patch_url":"https://github.com/myfreecomm/ecommerce-client-ruby/pull/5.patch","issue_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/issues/5","number":5,"state":"open","locked":false,"title":"Create invoices endpoints","user":{"login":"eduardohertz","id":129768,"avatar_url":"https://avatars.githubusercontent.com/u/129768?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardohertz","html_url":"https://github.com/eduardohertz","followers_url":"https://api.github.com/users/eduardohertz/followers","following_url":"https://api.github.com/users/eduardohertz/following{/other_user}","gists_url":"https://api.github.com/users/eduardohertz/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardohertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardohertz/subscriptions","organizations_url":"https://api.github.com/users/eduardohertz/orgs","repos_url":"https://api.github.com/users/eduardohertz/repos","events_url":"https://api.github.com/users/eduardohertz/events{/privacy}","received_events_url":"https://api.github.com/users/eduardohertz/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-02T20:45:40Z","updated_at":"2015-04-03T05:37:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac812cdd5c382fe577bd1fc2248ae53e0d9e6815","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/5/commits","review_comments_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/5/comments","review_comment_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/issues/5/comments","statuses_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/statuses/7e92c12713fa8adc505a2fe1574197e310c61974","head":{"label":"myfreecomm:feature-order-invoices","ref":"feature-order-invoices","sha":"7e92c12713fa8adc505a2fe1574197e310c61974","user":{"login":"myfreecomm","id":86764,"avatar_url":"https://avatars.githubusercontent.com/u/86764?v=3","gravatar_id":"","url":"https://api.github.com/users/myfreecomm","html_url":"https://github.com/myfreecomm","followers_url":"https://api.github.com/users/myfreecomm/followers","following_url":"https://api.github.com/users/myfreecomm/following{/other_user}","gists_url":"https://api.github.com/users/myfreecomm/gists{/gist_id}","starred_url":"https://api.github.com/users/myfreecomm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myfreecomm/subscriptions","organizations_url":"https://api.github.com/users/myfreecomm/orgs","repos_url":"https://api.github.com/users/myfreecomm/repos","events_url":"https://api.github.com/users/myfreecomm/events{/privacy}","received_events_url":"https://api.github.com/users/myfreecomm/received_events","type":"Organization","site_admin":false},"repo":{"id":8864887,"name":"ecommerce-client-ruby","full_name":"myfreecomm/ecommerce-client-ruby","owner":{"login":"myfreecomm","id":86764,"avatar_url":"https://avatars.githubusercontent.com/u/86764?v=3","gravatar_id":"","url":"https://api.github.com/users/myfreecomm","html_url":"https://github.com/myfreecomm","followers_url":"https://api.github.com/users/myfreecomm/followers","following_url":"https://api.github.com/users/myfreecomm/following{/other_user}","gists_url":"https://api.github.com/users/myfreecomm/gists{/gist_id}","starred_url":"https://api.github.com/users/myfreecomm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myfreecomm/subscriptions","organizations_url":"https://api.github.com/users/myfreecomm/orgs","repos_url":"https://api.github.com/users/myfreecomm/repos","events_url":"https://api.github.com/users/myfreecomm/events{/privacy}","received_events_url":"https://api.github.com/users/myfreecomm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/myfreecomm/ecommerce-client-ruby","description":"A Ruby client for Myfreecomm's Ecommerce REST API","fork":false,"url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby","forks_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/forks","keys_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/teams","hooks_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/hooks","issue_events_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/events","assignees_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/tags","blobs_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/languages","stargazers_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/stargazers","contributors_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/contributors","subscribers_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/subscribers","subscription_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/subscription","commits_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/merges","archive_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/downloads","issues_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/labels{/name}","releases_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/releases{/id}","created_at":"2013-03-18T21:42:08Z","updated_at":"2015-04-02T13:39:51Z","pushed_at":"2015-04-03T05:37:09Z","git_url":"git://github.com/myfreecomm/ecommerce-client-ruby.git","ssh_url":"git@github.com:myfreecomm/ecommerce-client-ruby.git","clone_url":"https://github.com/myfreecomm/ecommerce-client-ruby.git","svn_url":"https://github.com/myfreecomm/ecommerce-client-ruby","homepage":null,"size":275,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"myfreecomm:master","ref":"master","sha":"e71f6e921541f79ed780ac28c42cf1d23d931740","user":{"login":"myfreecomm","id":86764,"avatar_url":"https://avatars.githubusercontent.com/u/86764?v=3","gravatar_id":"","url":"https://api.github.com/users/myfreecomm","html_url":"https://github.com/myfreecomm","followers_url":"https://api.github.com/users/myfreecomm/followers","following_url":"https://api.github.com/users/myfreecomm/following{/other_user}","gists_url":"https://api.github.com/users/myfreecomm/gists{/gist_id}","starred_url":"https://api.github.com/users/myfreecomm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myfreecomm/subscriptions","organizations_url":"https://api.github.com/users/myfreecomm/orgs","repos_url":"https://api.github.com/users/myfreecomm/repos","events_url":"https://api.github.com/users/myfreecomm/events{/privacy}","received_events_url":"https://api.github.com/users/myfreecomm/received_events","type":"Organization","site_admin":false},"repo":{"id":8864887,"name":"ecommerce-client-ruby","full_name":"myfreecomm/ecommerce-client-ruby","owner":{"login":"myfreecomm","id":86764,"avatar_url":"https://avatars.githubusercontent.com/u/86764?v=3","gravatar_id":"","url":"https://api.github.com/users/myfreecomm","html_url":"https://github.com/myfreecomm","followers_url":"https://api.github.com/users/myfreecomm/followers","following_url":"https://api.github.com/users/myfreecomm/following{/other_user}","gists_url":"https://api.github.com/users/myfreecomm/gists{/gist_id}","starred_url":"https://api.github.com/users/myfreecomm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myfreecomm/subscriptions","organizations_url":"https://api.github.com/users/myfreecomm/orgs","repos_url":"https://api.github.com/users/myfreecomm/repos","events_url":"https://api.github.com/users/myfreecomm/events{/privacy}","received_events_url":"https://api.github.com/users/myfreecomm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/myfreecomm/ecommerce-client-ruby","description":"A Ruby client for Myfreecomm's Ecommerce REST API","fork":false,"url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby","forks_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/forks","keys_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/teams","hooks_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/hooks","issue_events_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/events","assignees_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/tags","blobs_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/languages","stargazers_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/stargazers","contributors_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/contributors","subscribers_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/subscribers","subscription_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/subscription","commits_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/merges","archive_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/downloads","issues_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/labels{/name}","releases_url":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/releases{/id}","created_at":"2013-03-18T21:42:08Z","updated_at":"2015-04-02T13:39:51Z","pushed_at":"2015-04-03T05:37:09Z","git_url":"git://github.com/myfreecomm/ecommerce-client-ruby.git","ssh_url":"git@github.com:myfreecomm/ecommerce-client-ruby.git","clone_url":"https://github.com/myfreecomm/ecommerce-client-ruby.git","svn_url":"https://github.com/myfreecomm/ecommerce-client-ruby","homepage":null,"size":275,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/5"},"html":{"href":"https://github.com/myfreecomm/ecommerce-client-ruby/pull/5"},"issue":{"href":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/issues/5"},"comments":{"href":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/myfreecomm/ecommerce-client-ruby/statuses/7e92c12713fa8adc505a2fe1574197e310c61974"}}}}