{"action":"created","comment":{"url":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/comments/33076146","id":33076146,"diff_hunk":"@@ -38,5 +38,10 @@ def cancel(params = {}, api_key = nil)\n       Util.convert_to_nurego_object(response, api_key)\n     end\n \n+    def update_trial_period(params = {}, api_key = nil)\n+      response, api_key = Nurego.request(:post, url + '/update_trial_period', api_key, params)\n+      Util.convert_to_nurego_object(response, api_key)\n+    end","path":"lib/nurego/organization.rb","position":7,"original_position":7,"commit_id":"2bd795a4fb04487050a33bd6c2c3b361e0aa174f","original_commit_id":"2bd795a4fb04487050a33bd6c2c3b361e0aa174f","user":{"login":"meitalfed","id":1312739,"avatar_url":"https://avatars.githubusercontent.com/u/1312739?v=3","gravatar_id":"","url":"https://api.github.com/users/meitalfed","html_url":"https://github.com/meitalfed","followers_url":"https://api.github.com/users/meitalfed/followers","following_url":"https://api.github.com/users/meitalfed/following{/other_user}","gists_url":"https://api.github.com/users/meitalfed/gists{/gist_id}","starred_url":"https://api.github.com/users/meitalfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meitalfed/subscriptions","organizations_url":"https://api.github.com/users/meitalfed/orgs","repos_url":"https://api.github.com/users/meitalfed/repos","events_url":"https://api.github.com/users/meitalfed/events{/privacy}","received_events_url":"https://api.github.com/users/meitalfed/received_events","type":"User","site_admin":false},"body":"@anatb What is the best place to mention what  exactly params it gets?\r\n(trial_days / trial_months  and plan_id).\r\n","created_at":"2015-06-23T18:40:28Z","updated_at":"2015-06-23T18:40:28Z","html_url":"https://github.com/Nurego/nurego-ruby/pull/36#discussion_r33076146","pull_request_url":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/comments/33076146"},"html":{"href":"https://github.com/Nurego/nurego-ruby/pull/36#discussion_r33076146"},"pull_request":{"href":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/36","id":38367810,"html_url":"https://github.com/Nurego/nurego-ruby/pull/36","diff_url":"https://github.com/Nurego/nurego-ruby/pull/36.diff","patch_url":"https://github.com/Nurego/nurego-ruby/pull/36.patch","issue_url":"https://api.github.com/repos/Nurego/nurego-ruby/issues/36","number":36,"state":"open","locked":false,"title":"Update trial period","user":{"login":"meitalfed","id":1312739,"avatar_url":"https://avatars.githubusercontent.com/u/1312739?v=3","gravatar_id":"","url":"https://api.github.com/users/meitalfed","html_url":"https://github.com/meitalfed","followers_url":"https://api.github.com/users/meitalfed/followers","following_url":"https://api.github.com/users/meitalfed/following{/other_user}","gists_url":"https://api.github.com/users/meitalfed/gists{/gist_id}","starred_url":"https://api.github.com/users/meitalfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meitalfed/subscriptions","organizations_url":"https://api.github.com/users/meitalfed/orgs","repos_url":"https://api.github.com/users/meitalfed/repos","events_url":"https://api.github.com/users/meitalfed/events{/privacy}","received_events_url":"https://api.github.com/users/meitalfed/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-23T18:30:41Z","updated_at":"2015-06-23T18:40:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3134cab194c255f7759391f311b89862dd3d0e44","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/36/commits","review_comments_url":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/36/comments","review_comment_url":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Nurego/nurego-ruby/issues/36/comments","statuses_url":"https://api.github.com/repos/Nurego/nurego-ruby/statuses/2bd795a4fb04487050a33bd6c2c3b361e0aa174f","head":{"label":"Nurego:meital_dev","ref":"meital_dev","sha":"2bd795a4fb04487050a33bd6c2c3b361e0aa174f","user":{"login":"Nurego","id":3254926,"avatar_url":"https://avatars.githubusercontent.com/u/3254926?v=3","gravatar_id":"","url":"https://api.github.com/users/Nurego","html_url":"https://github.com/Nurego","followers_url":"https://api.github.com/users/Nurego/followers","following_url":"https://api.github.com/users/Nurego/following{/other_user}","gists_url":"https://api.github.com/users/Nurego/gists{/gist_id}","starred_url":"https://api.github.com/users/Nurego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nurego/subscriptions","organizations_url":"https://api.github.com/users/Nurego/orgs","repos_url":"https://api.github.com/users/Nurego/repos","events_url":"https://api.github.com/users/Nurego/events{/privacy}","received_events_url":"https://api.github.com/users/Nurego/received_events","type":"Organization","site_admin":false},"repo":{"id":14656053,"name":"nurego-ruby","full_name":"Nurego/nurego-ruby","owner":{"login":"Nurego","id":3254926,"avatar_url":"https://avatars.githubusercontent.com/u/3254926?v=3","gravatar_id":"","url":"https://api.github.com/users/Nurego","html_url":"https://github.com/Nurego","followers_url":"https://api.github.com/users/Nurego/followers","following_url":"https://api.github.com/users/Nurego/following{/other_user}","gists_url":"https://api.github.com/users/Nurego/gists{/gist_id}","starred_url":"https://api.github.com/users/Nurego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nurego/subscriptions","organizations_url":"https://api.github.com/users/Nurego/orgs","repos_url":"https://api.github.com/users/Nurego/repos","events_url":"https://api.github.com/users/Nurego/events{/privacy}","received_events_url":"https://api.github.com/users/Nurego/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Nurego/nurego-ruby","description":"Ruby bindings for Nurego API","fork":false,"url":"https://api.github.com/repos/Nurego/nurego-ruby","forks_url":"https://api.github.com/repos/Nurego/nurego-ruby/forks","keys_url":"https://api.github.com/repos/Nurego/nurego-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nurego/nurego-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nurego/nurego-ruby/teams","hooks_url":"https://api.github.com/repos/Nurego/nurego-ruby/hooks","issue_events_url":"https://api.github.com/repos/Nurego/nurego-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/Nurego/nurego-ruby/events","assignees_url":"https://api.github.com/repos/Nurego/nurego-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/Nurego/nurego-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/Nurego/nurego-ruby/tags","blobs_url":"https://api.github.com/repos/Nurego/nurego-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nurego/nurego-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nurego/nurego-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nurego/nurego-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nurego/nurego-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/Nurego/nurego-ruby/languages","stargazers_url":"https://api.github.com/repos/Nurego/nurego-ruby/stargazers","contributors_url":"https://api.github.com/repos/Nurego/nurego-ruby/contributors","subscribers_url":"https://api.github.com/repos/Nurego/nurego-ruby/subscribers","subscription_url":"https://api.github.com/repos/Nurego/nurego-ruby/subscription","commits_url":"https://api.github.com/repos/Nurego/nurego-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nurego/nurego-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nurego/nurego-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nurego/nurego-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nurego/nurego-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/Nurego/nurego-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nurego/nurego-ruby/merges","archive_url":"https://api.github.com/repos/Nurego/nurego-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nurego/nurego-ruby/downloads","issues_url":"https://api.github.com/repos/Nurego/nurego-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/Nurego/nurego-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/Nurego/nurego-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/Nurego/nurego-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nurego/nurego-ruby/labels{/name}","releases_url":"https://api.github.com/repos/Nurego/nurego-ruby/releases{/id}","created_at":"2013-11-24T05:04:49Z","updated_at":"2015-04-15T13:54:43Z","pushed_at":"2015-06-23T18:30:41Z","git_url":"git://github.com/Nurego/nurego-ruby.git","ssh_url":"git@github.com:Nurego/nurego-ruby.git","clone_url":"https://github.com/Nurego/nurego-ruby.git","svn_url":"https://github.com/Nurego/nurego-ruby","homepage":null,"size":919,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Nurego:master","ref":"master","sha":"692e2f17d231b6b7c3ae4ac5be8c96b601eaedca","user":{"login":"Nurego","id":3254926,"avatar_url":"https://avatars.githubusercontent.com/u/3254926?v=3","gravatar_id":"","url":"https://api.github.com/users/Nurego","html_url":"https://github.com/Nurego","followers_url":"https://api.github.com/users/Nurego/followers","following_url":"https://api.github.com/users/Nurego/following{/other_user}","gists_url":"https://api.github.com/users/Nurego/gists{/gist_id}","starred_url":"https://api.github.com/users/Nurego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nurego/subscriptions","organizations_url":"https://api.github.com/users/Nurego/orgs","repos_url":"https://api.github.com/users/Nurego/repos","events_url":"https://api.github.com/users/Nurego/events{/privacy}","received_events_url":"https://api.github.com/users/Nurego/received_events","type":"Organization","site_admin":false},"repo":{"id":14656053,"name":"nurego-ruby","full_name":"Nurego/nurego-ruby","owner":{"login":"Nurego","id":3254926,"avatar_url":"https://avatars.githubusercontent.com/u/3254926?v=3","gravatar_id":"","url":"https://api.github.com/users/Nurego","html_url":"https://github.com/Nurego","followers_url":"https://api.github.com/users/Nurego/followers","following_url":"https://api.github.com/users/Nurego/following{/other_user}","gists_url":"https://api.github.com/users/Nurego/gists{/gist_id}","starred_url":"https://api.github.com/users/Nurego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nurego/subscriptions","organizations_url":"https://api.github.com/users/Nurego/orgs","repos_url":"https://api.github.com/users/Nurego/repos","events_url":"https://api.github.com/users/Nurego/events{/privacy}","received_events_url":"https://api.github.com/users/Nurego/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Nurego/nurego-ruby","description":"Ruby bindings for Nurego API","fork":false,"url":"https://api.github.com/repos/Nurego/nurego-ruby","forks_url":"https://api.github.com/repos/Nurego/nurego-ruby/forks","keys_url":"https://api.github.com/repos/Nurego/nurego-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nurego/nurego-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nurego/nurego-ruby/teams","hooks_url":"https://api.github.com/repos/Nurego/nurego-ruby/hooks","issue_events_url":"https://api.github.com/repos/Nurego/nurego-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/Nurego/nurego-ruby/events","assignees_url":"https://api.github.com/repos/Nurego/nurego-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/Nurego/nurego-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/Nurego/nurego-ruby/tags","blobs_url":"https://api.github.com/repos/Nurego/nurego-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nurego/nurego-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nurego/nurego-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nurego/nurego-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nurego/nurego-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/Nurego/nurego-ruby/languages","stargazers_url":"https://api.github.com/repos/Nurego/nurego-ruby/stargazers","contributors_url":"https://api.github.com/repos/Nurego/nurego-ruby/contributors","subscribers_url":"https://api.github.com/repos/Nurego/nurego-ruby/subscribers","subscription_url":"https://api.github.com/repos/Nurego/nurego-ruby/subscription","commits_url":"https://api.github.com/repos/Nurego/nurego-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nurego/nurego-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nurego/nurego-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nurego/nurego-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nurego/nurego-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/Nurego/nurego-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nurego/nurego-ruby/merges","archive_url":"https://api.github.com/repos/Nurego/nurego-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nurego/nurego-ruby/downloads","issues_url":"https://api.github.com/repos/Nurego/nurego-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/Nurego/nurego-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/Nurego/nurego-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/Nurego/nurego-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nurego/nurego-ruby/labels{/name}","releases_url":"https://api.github.com/repos/Nurego/nurego-ruby/releases{/id}","created_at":"2013-11-24T05:04:49Z","updated_at":"2015-04-15T13:54:43Z","pushed_at":"2015-06-23T18:30:41Z","git_url":"git://github.com/Nurego/nurego-ruby.git","ssh_url":"git@github.com:Nurego/nurego-ruby.git","clone_url":"https://github.com/Nurego/nurego-ruby.git","svn_url":"https://github.com/Nurego/nurego-ruby","homepage":null,"size":919,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/36"},"html":{"href":"https://github.com/Nurego/nurego-ruby/pull/36"},"issue":{"href":"https://api.github.com/repos/Nurego/nurego-ruby/issues/36"},"comments":{"href":"https://api.github.com/repos/Nurego/nurego-ruby/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Nurego/nurego-ruby/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/Nurego/nurego-ruby/statuses/2bd795a4fb04487050a33bd6c2c3b361e0aa174f"}}}}