{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/raszi/mrkt/pulls/10","id":61889913,"html_url":"https://github.com/raszi/mrkt/pull/10","diff_url":"https://github.com/raszi/mrkt/pull/10.diff","patch_url":"https://github.com/raszi/mrkt/pull/10.patch","issue_url":"https://api.github.com/repos/raszi/mrkt/issues/10","number":10,"state":"closed","locked":false,"title":"docs: fix client.get_leads arguments from string to array","user":{"login":"takuyan","id":72418,"avatar_url":"https://avatars.githubusercontent.com/u/72418?v=3","gravatar_id":"","url":"https://api.github.com/users/takuyan","html_url":"https://github.com/takuyan","followers_url":"https://api.github.com/users/takuyan/followers","following_url":"https://api.github.com/users/takuyan/following{/other_user}","gists_url":"https://api.github.com/users/takuyan/gists{/gist_id}","starred_url":"https://api.github.com/users/takuyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuyan/subscriptions","organizations_url":"https://api.github.com/users/takuyan/orgs","repos_url":"https://api.github.com/users/takuyan/repos","events_url":"https://api.github.com/users/takuyan/events{/privacy}","received_events_url":"https://api.github.com/users/takuyan/received_events","type":"User","site_admin":false},"body":"```\r\n[1] pry(main)> response = client.get_leads(:email, 'takuyan@example.com')\r\nNoMethodError: undefined method `join' for \"takuyan@example.com\":String\r\nfrom /Users/takuyan/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/mrkt-0.6.1/lib/mrkt/concerns/crud_leads.rb:6:in `get_leads'\r\n```\r\n\r\n```\r\n[2] pry(main)> response = client.get_leads(:email, ['takuyan@example.com'])\r\n=> {:requestId=>\"17b86#153509999ad\",\r\n :result=>\r\n  [{:id=>9999372,\r\n    :updatedAt=>\"2016-03-07T06:24:12Z\",\r\n    :lastName=>nil,\r\n    :email=>\"takuyan@example.com\",\r\n    :createdAt=>\"2016-02-02T09:17:04Z\",\r\n    :firstName=>nil}],\r\n :success=>true}\r\n```","created_at":"2016-03-07T09:13:37Z","updated_at":"2016-03-10T18:36:34Z","closed_at":"2016-03-10T18:36:34Z","merged_at":"2016-03-10T18:36:33Z","merge_commit_sha":"afb91fd6f8d148aa6f46b5d3baecb3b00a4efce3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/raszi/mrkt/pulls/10/commits","review_comments_url":"https://api.github.com/repos/raszi/mrkt/pulls/10/comments","review_comment_url":"https://api.github.com/repos/raszi/mrkt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raszi/mrkt/issues/10/comments","statuses_url":"https://api.github.com/repos/raszi/mrkt/statuses/343eea5d79374b946cbb5f49f2f1342fab10b95e","head":{"label":"takuyan:patch-1","ref":"patch-1","sha":"343eea5d79374b946cbb5f49f2f1342fab10b95e","user":{"login":"takuyan","id":72418,"avatar_url":"https://avatars.githubusercontent.com/u/72418?v=3","gravatar_id":"","url":"https://api.github.com/users/takuyan","html_url":"https://github.com/takuyan","followers_url":"https://api.github.com/users/takuyan/followers","following_url":"https://api.github.com/users/takuyan/following{/other_user}","gists_url":"https://api.github.com/users/takuyan/gists{/gist_id}","starred_url":"https://api.github.com/users/takuyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuyan/subscriptions","organizations_url":"https://api.github.com/users/takuyan/orgs","repos_url":"https://api.github.com/users/takuyan/repos","events_url":"https://api.github.com/users/takuyan/events{/privacy}","received_events_url":"https://api.github.com/users/takuyan/received_events","type":"User","site_admin":false},"repo":{"id":53311654,"name":"mrkt","full_name":"takuyan/mrkt","owner":{"login":"takuyan","id":72418,"avatar_url":"https://avatars.githubusercontent.com/u/72418?v=3","gravatar_id":"","url":"https://api.github.com/users/takuyan","html_url":"https://github.com/takuyan","followers_url":"https://api.github.com/users/takuyan/followers","following_url":"https://api.github.com/users/takuyan/following{/other_user}","gists_url":"https://api.github.com/users/takuyan/gists{/gist_id}","starred_url":"https://api.github.com/users/takuyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takuyan/subscriptions","organizations_url":"https://api.github.com/users/takuyan/orgs","repos_url":"https://api.github.com/users/takuyan/repos","events_url":"https://api.github.com/users/takuyan/events{/privacy}","received_events_url":"https://api.github.com/users/takuyan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takuyan/mrkt","description":"This gem provides some level of abstraction to Marketo REST APIs.","fork":true,"url":"https://api.github.com/repos/takuyan/mrkt","forks_url":"https://api.github.com/repos/takuyan/mrkt/forks","keys_url":"https://api.github.com/repos/takuyan/mrkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takuyan/mrkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takuyan/mrkt/teams","hooks_url":"https://api.github.com/repos/takuyan/mrkt/hooks","issue_events_url":"https://api.github.com/repos/takuyan/mrkt/issues/events{/number}","events_url":"https://api.github.com/repos/takuyan/mrkt/events","assignees_url":"https://api.github.com/repos/takuyan/mrkt/assignees{/user}","branches_url":"https://api.github.com/repos/takuyan/mrkt/branches{/branch}","tags_url":"https://api.github.com/repos/takuyan/mrkt/tags","blobs_url":"https://api.github.com/repos/takuyan/mrkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takuyan/mrkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takuyan/mrkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/takuyan/mrkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takuyan/mrkt/statuses/{sha}","languages_url":"https://api.github.com/repos/takuyan/mrkt/languages","stargazers_url":"https://api.github.com/repos/takuyan/mrkt/stargazers","contributors_url":"https://api.github.com/repos/takuyan/mrkt/contributors","subscribers_url":"https://api.github.com/repos/takuyan/mrkt/subscribers","subscription_url":"https://api.github.com/repos/takuyan/mrkt/subscription","commits_url":"https://api.github.com/repos/takuyan/mrkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/takuyan/mrkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/takuyan/mrkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/takuyan/mrkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/takuyan/mrkt/contents/{+path}","compare_url":"https://api.github.com/repos/takuyan/mrkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takuyan/mrkt/merges","archive_url":"https://api.github.com/repos/takuyan/mrkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takuyan/mrkt/downloads","issues_url":"https://api.github.com/repos/takuyan/mrkt/issues{/number}","pulls_url":"https://api.github.com/repos/takuyan/mrkt/pulls{/number}","milestones_url":"https://api.github.com/repos/takuyan/mrkt/milestones{/number}","notifications_url":"https://api.github.com/repos/takuyan/mrkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takuyan/mrkt/labels{/name}","releases_url":"https://api.github.com/repos/takuyan/mrkt/releases{/id}","deployments_url":"https://api.github.com/repos/takuyan/mrkt/deployments","created_at":"2016-03-07T09:11:48Z","updated_at":"2016-03-07T09:11:50Z","pushed_at":"2016-03-07T10:55:06Z","git_url":"git://github.com/takuyan/mrkt.git","ssh_url":"git@github.com:takuyan/mrkt.git","clone_url":"https://github.com/takuyan/mrkt.git","svn_url":"https://github.com/takuyan/mrkt","homepage":"http://developers.marketo.com/documentation/rest","size":725,"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":"raszi:master","ref":"master","sha":"e195de13f566361160169518aa853a4afd1e7f31","user":{"login":"raszi","id":76983,"avatar_url":"https://avatars.githubusercontent.com/u/76983?v=3","gravatar_id":"","url":"https://api.github.com/users/raszi","html_url":"https://github.com/raszi","followers_url":"https://api.github.com/users/raszi/followers","following_url":"https://api.github.com/users/raszi/following{/other_user}","gists_url":"https://api.github.com/users/raszi/gists{/gist_id}","starred_url":"https://api.github.com/users/raszi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raszi/subscriptions","organizations_url":"https://api.github.com/users/raszi/orgs","repos_url":"https://api.github.com/users/raszi/repos","events_url":"https://api.github.com/users/raszi/events{/privacy}","received_events_url":"https://api.github.com/users/raszi/received_events","type":"User","site_admin":false},"repo":{"id":34049227,"name":"mrkt","full_name":"raszi/mrkt","owner":{"login":"raszi","id":76983,"avatar_url":"https://avatars.githubusercontent.com/u/76983?v=3","gravatar_id":"","url":"https://api.github.com/users/raszi","html_url":"https://github.com/raszi","followers_url":"https://api.github.com/users/raszi/followers","following_url":"https://api.github.com/users/raszi/following{/other_user}","gists_url":"https://api.github.com/users/raszi/gists{/gist_id}","starred_url":"https://api.github.com/users/raszi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raszi/subscriptions","organizations_url":"https://api.github.com/users/raszi/orgs","repos_url":"https://api.github.com/users/raszi/repos","events_url":"https://api.github.com/users/raszi/events{/privacy}","received_events_url":"https://api.github.com/users/raszi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raszi/mrkt","description":"This gem provides some level of abstraction to Marketo REST APIs.","fork":true,"url":"https://api.github.com/repos/raszi/mrkt","forks_url":"https://api.github.com/repos/raszi/mrkt/forks","keys_url":"https://api.github.com/repos/raszi/mrkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raszi/mrkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raszi/mrkt/teams","hooks_url":"https://api.github.com/repos/raszi/mrkt/hooks","issue_events_url":"https://api.github.com/repos/raszi/mrkt/issues/events{/number}","events_url":"https://api.github.com/repos/raszi/mrkt/events","assignees_url":"https://api.github.com/repos/raszi/mrkt/assignees{/user}","branches_url":"https://api.github.com/repos/raszi/mrkt/branches{/branch}","tags_url":"https://api.github.com/repos/raszi/mrkt/tags","blobs_url":"https://api.github.com/repos/raszi/mrkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raszi/mrkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raszi/mrkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/raszi/mrkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raszi/mrkt/statuses/{sha}","languages_url":"https://api.github.com/repos/raszi/mrkt/languages","stargazers_url":"https://api.github.com/repos/raszi/mrkt/stargazers","contributors_url":"https://api.github.com/repos/raszi/mrkt/contributors","subscribers_url":"https://api.github.com/repos/raszi/mrkt/subscribers","subscription_url":"https://api.github.com/repos/raszi/mrkt/subscription","commits_url":"https://api.github.com/repos/raszi/mrkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/raszi/mrkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/raszi/mrkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/raszi/mrkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/raszi/mrkt/contents/{+path}","compare_url":"https://api.github.com/repos/raszi/mrkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raszi/mrkt/merges","archive_url":"https://api.github.com/repos/raszi/mrkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raszi/mrkt/downloads","issues_url":"https://api.github.com/repos/raszi/mrkt/issues{/number}","pulls_url":"https://api.github.com/repos/raszi/mrkt/pulls{/number}","milestones_url":"https://api.github.com/repos/raszi/mrkt/milestones{/number}","notifications_url":"https://api.github.com/repos/raszi/mrkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raszi/mrkt/labels{/name}","releases_url":"https://api.github.com/repos/raszi/mrkt/releases{/id}","deployments_url":"https://api.github.com/repos/raszi/mrkt/deployments","created_at":"2015-04-16T10:22:15Z","updated_at":"2016-03-01T08:21:37Z","pushed_at":"2016-03-10T18:36:33Z","git_url":"git://github.com/raszi/mrkt.git","ssh_url":"git@github.com:raszi/mrkt.git","clone_url":"https://github.com/raszi/mrkt.git","svn_url":"https://github.com/raszi/mrkt","homepage":"http://developers.marketo.com/documentation/rest","size":735,"stargazers_count":7,"watchers_count":7,"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":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/raszi/mrkt/pulls/10"},"html":{"href":"https://github.com/raszi/mrkt/pull/10"},"issue":{"href":"https://api.github.com/repos/raszi/mrkt/issues/10"},"comments":{"href":"https://api.github.com/repos/raszi/mrkt/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/raszi/mrkt/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/raszi/mrkt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raszi/mrkt/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/raszi/mrkt/statuses/343eea5d79374b946cbb5f49f2f1342fab10b95e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"raszi","id":76983,"avatar_url":"https://avatars.githubusercontent.com/u/76983?v=3","gravatar_id":"","url":"https://api.github.com/users/raszi","html_url":"https://github.com/raszi","followers_url":"https://api.github.com/users/raszi/followers","following_url":"https://api.github.com/users/raszi/following{/other_user}","gists_url":"https://api.github.com/users/raszi/gists{/gist_id}","starred_url":"https://api.github.com/users/raszi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raszi/subscriptions","organizations_url":"https://api.github.com/users/raszi/orgs","repos_url":"https://api.github.com/users/raszi/repos","events_url":"https://api.github.com/users/raszi/events{/privacy}","received_events_url":"https://api.github.com/users/raszi/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}