{"action":"created","comment":{"url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/comments/35791924","id":35791924,"diff_hunk":"@@ -0,0 +1,41 @@\n+module Myfinance\n+  module Resources\n+    #\n+    # A wrapper to Myfinance entities API\n+    #\n+    # [API]\n+    #   Documentation: https://app.myfinance.com.br/docs/api/entities\n+    #\n+    class Entity < Base\n+      attr_reader :id, :name, :account_id, :charging_uuid, :created_at, :default_in_menu, :deleted_at, :federation_subscription_number, :imported_from_sync_at, :updated_at\n+\n+      #\n+      # List all entities of the user\n+      #\n+      # [API]\n+      #   Method: <tt>GET /entities</tt>\n+      #\n+      #   Documentation: https://app.myfinance.com.br/docs/api/entities#get_index\n+      #\n+      def self.find_all\n+        client.get('/entities', body: {}) do |response|","path":"lib/myfinance/resources/entity.rb","position":21,"original_position":21,"commit_id":"c8047dad6c542d3b7b436ce536f31e524a39230c","original_commit_id":"c8047dad6c542d3b7b436ce536f31e524a39230c","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-07-29T18:08:38Z","updated_at":"2015-07-29T18:08:38Z","html_url":"https://github.com/myfreecomm/myfinance-client-ruby/pull/3#discussion_r35791924","pull_request_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/comments/35791924"},"html":{"href":"https://github.com/myfreecomm/myfinance-client-ruby/pull/3#discussion_r35791924"},"pull_request":{"href":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/3","id":41153506,"html_url":"https://github.com/myfreecomm/myfinance-client-ruby/pull/3","diff_url":"https://github.com/myfreecomm/myfinance-client-ruby/pull/3.diff","patch_url":"https://github.com/myfreecomm/myfinance-client-ruby/pull/3.patch","issue_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/issues/3","number":3,"state":"open","locked":false,"title":"Builds entities find and list methods","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-07-29T18:06:37Z","updated_at":"2015-07-29T18:08:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"481ef41737e03aa175c08023fbf6d75a455d1078","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/3/commits","review_comments_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/3/comments","review_comment_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/issues/3/comments","statuses_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/statuses/c8047dad6c542d3b7b436ce536f31e524a39230c","head":{"label":"myfreecomm:feature-entities-find","ref":"feature-entities-find","sha":"c8047dad6c542d3b7b436ce536f31e524a39230c","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":8864909,"name":"myfinance-client-ruby","full_name":"myfreecomm/myfinance-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/myfinance-client-ruby","description":"A Ruby client for MyFinance's REST API","fork":false,"url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby","forks_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/forks","keys_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/teams","hooks_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/hooks","issue_events_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/events","assignees_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/tags","blobs_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/languages","stargazers_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/stargazers","contributors_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/contributors","subscribers_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/subscribers","subscription_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/subscription","commits_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/merges","archive_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/downloads","issues_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/labels{/name}","releases_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/releases{/id}","created_at":"2013-03-18T21:42:53Z","updated_at":"2015-07-29T13:39:50Z","pushed_at":"2015-07-29T18:08:32Z","git_url":"git://github.com/myfreecomm/myfinance-client-ruby.git","ssh_url":"git@github.com:myfreecomm/myfinance-client-ruby.git","clone_url":"https://github.com/myfreecomm/myfinance-client-ruby.git","svn_url":"https://github.com/myfreecomm/myfinance-client-ruby","homepage":null,"size":112,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"myfreecomm:master","ref":"master","sha":"dabd1530ecd33fbb11dfffcdda258307227d0889","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":8864909,"name":"myfinance-client-ruby","full_name":"myfreecomm/myfinance-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/myfinance-client-ruby","description":"A Ruby client for MyFinance's REST API","fork":false,"url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby","forks_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/forks","keys_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/teams","hooks_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/hooks","issue_events_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/events","assignees_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/tags","blobs_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/languages","stargazers_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/stargazers","contributors_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/contributors","subscribers_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/subscribers","subscription_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/subscription","commits_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/merges","archive_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/downloads","issues_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/labels{/name}","releases_url":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/releases{/id}","created_at":"2013-03-18T21:42:53Z","updated_at":"2015-07-29T13:39:50Z","pushed_at":"2015-07-29T18:08:32Z","git_url":"git://github.com/myfreecomm/myfinance-client-ruby.git","ssh_url":"git@github.com:myfreecomm/myfinance-client-ruby.git","clone_url":"https://github.com/myfreecomm/myfinance-client-ruby.git","svn_url":"https://github.com/myfreecomm/myfinance-client-ruby","homepage":null,"size":112,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/3"},"html":{"href":"https://github.com/myfreecomm/myfinance-client-ruby/pull/3"},"issue":{"href":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/issues/3"},"comments":{"href":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/myfreecomm/myfinance-client-ruby/statuses/c8047dad6c542d3b7b436ce536f31e524a39230c"}}}}