{"action":"created","comment":{"url":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/comments/44107182","id":44107182,"diff_hunk":"@@ -15,6 +15,17 @@ module Record\n         # @option attributes [Integer] :priority priority of record\n         # @param headers [Hash] HTTP request headers\n         # @return [Response] HTTP response object\n+        # @example\n+        #   response =\n+        #       client.create_record(\n+        #           \"1eeb34ef-0380-455a-bab2-6433d75ad6a4\",\n+        #           name: \"www.foobar.example.com\",\n+        #           type: \"A\",\n+        #           content: \"8.8.8.8\",\n+        #           ttl: 3600\n+        #       )\n+        #\n+        #   response.uuid #=> uuid of a new record","path":"lib/idcf/dns/client_extensions/record.rb","position":14,"original_position":14,"commit_id":"7a583f2130ffe9668d3e7bf55ff3ffe0cf0d012b","original_commit_id":"7a583f2130ffe9668d3e7bf55ff3ffe0cf0d012b","user":{"login":"nownabe","id":1286807,"avatar_url":"https://avatars.githubusercontent.com/u/1286807?v=3","gravatar_id":"","url":"https://api.github.com/users/nownabe","html_url":"https://github.com/nownabe","followers_url":"https://api.github.com/users/nownabe/followers","following_url":"https://api.github.com/users/nownabe/following{/other_user}","gists_url":"https://api.github.com/users/nownabe/gists{/gist_id}","starred_url":"https://api.github.com/users/nownabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nownabe/subscriptions","organizations_url":"https://api.github.com/users/nownabe/orgs","repos_url":"https://api.github.com/users/nownabe/repos","events_url":"https://api.github.com/users/nownabe/events{/privacy}","received_events_url":"https://api.github.com/users/nownabe/received_events","type":"User","site_admin":false},"body":"ここのレスポンスもダミーのUUIDにしてください。\r\n基本的にすべてのレスポンスに対して`response.body`のサンプルを記載してください。","created_at":"2015-11-06T06:08:30Z","updated_at":"2015-11-06T06:08:30Z","html_url":"https://github.com/idcf/idcf-dns-ruby/pull/8#discussion_r44107182","pull_request_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/comments/44107182"},"html":{"href":"https://github.com/idcf/idcf-dns-ruby/pull/8#discussion_r44107182"},"pull_request":{"href":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/8","id":49780744,"html_url":"https://github.com/idcf/idcf-dns-ruby/pull/8","diff_url":"https://github.com/idcf/idcf-dns-ruby/pull/8.diff","patch_url":"https://github.com/idcf/idcf-dns-ruby/pull/8.patch","issue_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/issues/8","number":8,"state":"open","locked":false,"title":"Update documents","user":{"login":"risacan","id":13192318,"avatar_url":"https://avatars.githubusercontent.com/u/13192318?v=3","gravatar_id":"","url":"https://api.github.com/users/risacan","html_url":"https://github.com/risacan","followers_url":"https://api.github.com/users/risacan/followers","following_url":"https://api.github.com/users/risacan/following{/other_user}","gists_url":"https://api.github.com/users/risacan/gists{/gist_id}","starred_url":"https://api.github.com/users/risacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/risacan/subscriptions","organizations_url":"https://api.github.com/users/risacan/orgs","repos_url":"https://api.github.com/users/risacan/repos","events_url":"https://api.github.com/users/risacan/events{/privacy}","received_events_url":"https://api.github.com/users/risacan/received_events","type":"User","site_admin":false},"body":"# 目的\r\n- ドキュメントにクライアントの利用例を追記する\r\n- レスポンス例を追記する\r\n\r\n# 背景\r\n- Rubyクライアントの利用方法をわかりやすくしたかった\r\n","created_at":"2015-11-05T04:15:24Z","updated_at":"2015-11-06T06:08:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f69e38614dddf75e3ee151a023ca4abff06577bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/8/commits","review_comments_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/8/comments","review_comment_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/issues/8/comments","statuses_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/statuses/7a583f2130ffe9668d3e7bf55ff3ffe0cf0d012b","head":{"label":"risacan:add_documents","ref":"add_documents","sha":"7a583f2130ffe9668d3e7bf55ff3ffe0cf0d012b","user":{"login":"risacan","id":13192318,"avatar_url":"https://avatars.githubusercontent.com/u/13192318?v=3","gravatar_id":"","url":"https://api.github.com/users/risacan","html_url":"https://github.com/risacan","followers_url":"https://api.github.com/users/risacan/followers","following_url":"https://api.github.com/users/risacan/following{/other_user}","gists_url":"https://api.github.com/users/risacan/gists{/gist_id}","starred_url":"https://api.github.com/users/risacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/risacan/subscriptions","organizations_url":"https://api.github.com/users/risacan/orgs","repos_url":"https://api.github.com/users/risacan/repos","events_url":"https://api.github.com/users/risacan/events{/privacy}","received_events_url":"https://api.github.com/users/risacan/received_events","type":"User","site_admin":false},"repo":{"id":44782403,"name":"idcf-dns-ruby","full_name":"risacan/idcf-dns-ruby","owner":{"login":"risacan","id":13192318,"avatar_url":"https://avatars.githubusercontent.com/u/13192318?v=3","gravatar_id":"","url":"https://api.github.com/users/risacan","html_url":"https://github.com/risacan","followers_url":"https://api.github.com/users/risacan/followers","following_url":"https://api.github.com/users/risacan/following{/other_user}","gists_url":"https://api.github.com/users/risacan/gists{/gist_id}","starred_url":"https://api.github.com/users/risacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/risacan/subscriptions","organizations_url":"https://api.github.com/users/risacan/orgs","repos_url":"https://api.github.com/users/risacan/repos","events_url":"https://api.github.com/users/risacan/events{/privacy}","received_events_url":"https://api.github.com/users/risacan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/risacan/idcf-dns-ruby","description":"A Ruby client for IDCF Cloud DNS service.","fork":true,"url":"https://api.github.com/repos/risacan/idcf-dns-ruby","forks_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/forks","keys_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/teams","hooks_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/hooks","issue_events_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/events","assignees_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/tags","blobs_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/languages","stargazers_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/stargazers","contributors_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/contributors","subscribers_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/subscribers","subscription_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/subscription","commits_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/merges","archive_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/downloads","issues_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/labels{/name}","releases_url":"https://api.github.com/repos/risacan/idcf-dns-ruby/releases{/id}","created_at":"2015-10-23T01:02:09Z","updated_at":"2015-10-23T01:02:10Z","pushed_at":"2015-11-05T06:51:44Z","git_url":"git://github.com/risacan/idcf-dns-ruby.git","ssh_url":"git@github.com:risacan/idcf-dns-ruby.git","clone_url":"https://github.com/risacan/idcf-dns-ruby.git","svn_url":"https://github.com/risacan/idcf-dns-ruby","homepage":null,"size":114,"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":"idcf:master","ref":"master","sha":"f1ccfaf9289feb2da6a6dc8b9a2ac95b3e97565e","user":{"login":"idcf","id":1456235,"avatar_url":"https://avatars.githubusercontent.com/u/1456235?v=3","gravatar_id":"","url":"https://api.github.com/users/idcf","html_url":"https://github.com/idcf","followers_url":"https://api.github.com/users/idcf/followers","following_url":"https://api.github.com/users/idcf/following{/other_user}","gists_url":"https://api.github.com/users/idcf/gists{/gist_id}","starred_url":"https://api.github.com/users/idcf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idcf/subscriptions","organizations_url":"https://api.github.com/users/idcf/orgs","repos_url":"https://api.github.com/users/idcf/repos","events_url":"https://api.github.com/users/idcf/events{/privacy}","received_events_url":"https://api.github.com/users/idcf/received_events","type":"Organization","site_admin":false},"repo":{"id":41344128,"name":"idcf-dns-ruby","full_name":"idcf/idcf-dns-ruby","owner":{"login":"idcf","id":1456235,"avatar_url":"https://avatars.githubusercontent.com/u/1456235?v=3","gravatar_id":"","url":"https://api.github.com/users/idcf","html_url":"https://github.com/idcf","followers_url":"https://api.github.com/users/idcf/followers","following_url":"https://api.github.com/users/idcf/following{/other_user}","gists_url":"https://api.github.com/users/idcf/gists{/gist_id}","starred_url":"https://api.github.com/users/idcf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idcf/subscriptions","organizations_url":"https://api.github.com/users/idcf/orgs","repos_url":"https://api.github.com/users/idcf/repos","events_url":"https://api.github.com/users/idcf/events{/privacy}","received_events_url":"https://api.github.com/users/idcf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idcf/idcf-dns-ruby","description":"A Ruby client for IDCF Cloud DNS service.","fork":false,"url":"https://api.github.com/repos/idcf/idcf-dns-ruby","forks_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/forks","keys_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/teams","hooks_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/hooks","issue_events_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/events","assignees_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/tags","blobs_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/languages","stargazers_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/stargazers","contributors_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/contributors","subscribers_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/subscribers","subscription_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/subscription","commits_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/merges","archive_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/downloads","issues_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/labels{/name}","releases_url":"https://api.github.com/repos/idcf/idcf-dns-ruby/releases{/id}","created_at":"2015-08-25T05:09:34Z","updated_at":"2015-10-07T14:11:33Z","pushed_at":"2015-11-05T06:51:44Z","git_url":"git://github.com/idcf/idcf-dns-ruby.git","ssh_url":"git@github.com:idcf/idcf-dns-ruby.git","clone_url":"https://github.com/idcf/idcf-dns-ruby.git","svn_url":"https://github.com/idcf/idcf-dns-ruby","homepage":null,"size":271,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/8"},"html":{"href":"https://github.com/idcf/idcf-dns-ruby/pull/8"},"issue":{"href":"https://api.github.com/repos/idcf/idcf-dns-ruby/issues/8"},"comments":{"href":"https://api.github.com/repos/idcf/idcf-dns-ruby/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idcf/idcf-dns-ruby/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/idcf/idcf-dns-ruby/statuses/7a583f2130ffe9668d3e7bf55ff3ffe0cf0d012b"}}}}