{"action":"created","comment":{"url":"https://api.github.com/repos/conjurinc/api-ruby/pulls/comments/54800945","id":54800945,"diff_hunk":"@@ -200,9 +200,13 @@ def version_count\n     #\n     # @param [Integer] version the **1 based** version.\n     # @return [String] the value of the variable\n-    def value(version = nil)\n+    def value(version = nil, show_expired = false)","path":"lib/conjur/variable.rb","position":5,"original_position":5,"commit_id":"90f44aac1d059a2e5b90315722f0f0fada5b65ee","original_commit_id":"90f44aac1d059a2e5b90315722f0f0fada5b65ee","user":{"login":"apotterri","id":4212483,"avatar_url":"https://avatars.githubusercontent.com/u/4212483?v=3","gravatar_id":"","url":"https://api.github.com/users/apotterri","html_url":"https://github.com/apotterri","followers_url":"https://api.github.com/users/apotterri/followers","following_url":"https://api.github.com/users/apotterri/following{/other_user}","gists_url":"https://api.github.com/users/apotterri/gists{/gist_id}","starred_url":"https://api.github.com/users/apotterri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apotterri/subscriptions","organizations_url":"https://api.github.com/users/apotterri/orgs","repos_url":"https://api.github.com/users/apotterri/repos","events_url":"https://api.github.com/users/apotterri/events{/privacy}","received_events_url":"https://api.github.com/users/apotterri/received_events","type":"User","site_admin":false},"body":"Ok, makes sense to make it a hash. I also realized I forgot to document it, I'll add that, too.","created_at":"2016-03-02T22:11:36Z","updated_at":"2016-03-02T22:11:36Z","html_url":"https://github.com/conjurinc/api-ruby/pull/69#discussion_r54800945","pull_request_url":"https://api.github.com/repos/conjurinc/api-ruby/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/conjurinc/api-ruby/pulls/comments/54800945"},"html":{"href":"https://github.com/conjurinc/api-ruby/pull/69#discussion_r54800945"},"pull_request":{"href":"https://api.github.com/repos/conjurinc/api-ruby/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/conjurinc/api-ruby/pulls/69","id":61473015,"html_url":"https://github.com/conjurinc/api-ruby/pull/69","diff_url":"https://github.com/conjurinc/api-ruby/pull/69.diff","patch_url":"https://github.com/conjurinc/api-ruby/pull/69.patch","issue_url":"https://api.github.com/repos/conjurinc/api-ruby/issues/69","number":69,"state":"open","locked":false,"title":"Add show_expired to Variable#value","user":{"login":"apotterri","id":4212483,"avatar_url":"https://avatars.githubusercontent.com/u/4212483?v=3","gravatar_id":"","url":"https://api.github.com/users/apotterri","html_url":"https://github.com/apotterri","followers_url":"https://api.github.com/users/apotterri/followers","following_url":"https://api.github.com/users/apotterri/following{/other_user}","gists_url":"https://api.github.com/users/apotterri/gists{/gist_id}","starred_url":"https://api.github.com/users/apotterri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apotterri/subscriptions","organizations_url":"https://api.github.com/users/apotterri/orgs","repos_url":"https://api.github.com/users/apotterri/repos","events_url":"https://api.github.com/users/apotterri/events{/privacy}","received_events_url":"https://api.github.com/users/apotterri/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-02T21:49:51Z","updated_at":"2016-03-02T22:11:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7902943c8005b0e39365c00f8936954fd6d9bb57","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/conjurinc/api-ruby/pulls/69/commits","review_comments_url":"https://api.github.com/repos/conjurinc/api-ruby/pulls/69/comments","review_comment_url":"https://api.github.com/repos/conjurinc/api-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conjurinc/api-ruby/issues/69/comments","statuses_url":"https://api.github.com/repos/conjurinc/api-ruby/statuses/90f44aac1d059a2e5b90315722f0f0fada5b65ee","head":{"label":"conjurinc:expired-values_160302","ref":"expired-values_160302","sha":"90f44aac1d059a2e5b90315722f0f0fada5b65ee","user":{"login":"conjurinc","id":4996946,"avatar_url":"https://avatars.githubusercontent.com/u/4996946?v=3","gravatar_id":"","url":"https://api.github.com/users/conjurinc","html_url":"https://github.com/conjurinc","followers_url":"https://api.github.com/users/conjurinc/followers","following_url":"https://api.github.com/users/conjurinc/following{/other_user}","gists_url":"https://api.github.com/users/conjurinc/gists{/gist_id}","starred_url":"https://api.github.com/users/conjurinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conjurinc/subscriptions","organizations_url":"https://api.github.com/users/conjurinc/orgs","repos_url":"https://api.github.com/users/conjurinc/repos","events_url":"https://api.github.com/users/conjurinc/events{/privacy}","received_events_url":"https://api.github.com/users/conjurinc/received_events","type":"Organization","site_admin":false},"repo":{"id":7396760,"name":"api-ruby","full_name":"conjurinc/api-ruby","owner":{"login":"conjurinc","id":4996946,"avatar_url":"https://avatars.githubusercontent.com/u/4996946?v=3","gravatar_id":"","url":"https://api.github.com/users/conjurinc","html_url":"https://github.com/conjurinc","followers_url":"https://api.github.com/users/conjurinc/followers","following_url":"https://api.github.com/users/conjurinc/following{/other_user}","gists_url":"https://api.github.com/users/conjurinc/gists{/gist_id}","starred_url":"https://api.github.com/users/conjurinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conjurinc/subscriptions","organizations_url":"https://api.github.com/users/conjurinc/orgs","repos_url":"https://api.github.com/users/conjurinc/repos","events_url":"https://api.github.com/users/conjurinc/events{/privacy}","received_events_url":"https://api.github.com/users/conjurinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conjurinc/api-ruby","description":"Programmatic Ruby access to the Conjur API","fork":false,"url":"https://api.github.com/repos/conjurinc/api-ruby","forks_url":"https://api.github.com/repos/conjurinc/api-ruby/forks","keys_url":"https://api.github.com/repos/conjurinc/api-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conjurinc/api-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conjurinc/api-ruby/teams","hooks_url":"https://api.github.com/repos/conjurinc/api-ruby/hooks","issue_events_url":"https://api.github.com/repos/conjurinc/api-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/conjurinc/api-ruby/events","assignees_url":"https://api.github.com/repos/conjurinc/api-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/conjurinc/api-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/conjurinc/api-ruby/tags","blobs_url":"https://api.github.com/repos/conjurinc/api-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conjurinc/api-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conjurinc/api-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/conjurinc/api-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conjurinc/api-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/conjurinc/api-ruby/languages","stargazers_url":"https://api.github.com/repos/conjurinc/api-ruby/stargazers","contributors_url":"https://api.github.com/repos/conjurinc/api-ruby/contributors","subscribers_url":"https://api.github.com/repos/conjurinc/api-ruby/subscribers","subscription_url":"https://api.github.com/repos/conjurinc/api-ruby/subscription","commits_url":"https://api.github.com/repos/conjurinc/api-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/conjurinc/api-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/conjurinc/api-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/conjurinc/api-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/conjurinc/api-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/conjurinc/api-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conjurinc/api-ruby/merges","archive_url":"https://api.github.com/repos/conjurinc/api-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conjurinc/api-ruby/downloads","issues_url":"https://api.github.com/repos/conjurinc/api-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/conjurinc/api-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/conjurinc/api-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/conjurinc/api-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conjurinc/api-ruby/labels{/name}","releases_url":"https://api.github.com/repos/conjurinc/api-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/conjurinc/api-ruby/deployments","created_at":"2013-01-01T16:17:28Z","updated_at":"2016-01-14T15:02:21Z","pushed_at":"2016-03-02T21:49:51Z","git_url":"git://github.com/conjurinc/api-ruby.git","ssh_url":"git@github.com:conjurinc/api-ruby.git","clone_url":"https://github.com/conjurinc/api-ruby.git","svn_url":"https://github.com/conjurinc/api-ruby","homepage":"","size":593,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"conjurinc:master","ref":"master","sha":"4587c667d889ff47f59c8dd402d45724d79136b7","user":{"login":"conjurinc","id":4996946,"avatar_url":"https://avatars.githubusercontent.com/u/4996946?v=3","gravatar_id":"","url":"https://api.github.com/users/conjurinc","html_url":"https://github.com/conjurinc","followers_url":"https://api.github.com/users/conjurinc/followers","following_url":"https://api.github.com/users/conjurinc/following{/other_user}","gists_url":"https://api.github.com/users/conjurinc/gists{/gist_id}","starred_url":"https://api.github.com/users/conjurinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conjurinc/subscriptions","organizations_url":"https://api.github.com/users/conjurinc/orgs","repos_url":"https://api.github.com/users/conjurinc/repos","events_url":"https://api.github.com/users/conjurinc/events{/privacy}","received_events_url":"https://api.github.com/users/conjurinc/received_events","type":"Organization","site_admin":false},"repo":{"id":7396760,"name":"api-ruby","full_name":"conjurinc/api-ruby","owner":{"login":"conjurinc","id":4996946,"avatar_url":"https://avatars.githubusercontent.com/u/4996946?v=3","gravatar_id":"","url":"https://api.github.com/users/conjurinc","html_url":"https://github.com/conjurinc","followers_url":"https://api.github.com/users/conjurinc/followers","following_url":"https://api.github.com/users/conjurinc/following{/other_user}","gists_url":"https://api.github.com/users/conjurinc/gists{/gist_id}","starred_url":"https://api.github.com/users/conjurinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conjurinc/subscriptions","organizations_url":"https://api.github.com/users/conjurinc/orgs","repos_url":"https://api.github.com/users/conjurinc/repos","events_url":"https://api.github.com/users/conjurinc/events{/privacy}","received_events_url":"https://api.github.com/users/conjurinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conjurinc/api-ruby","description":"Programmatic Ruby access to the Conjur API","fork":false,"url":"https://api.github.com/repos/conjurinc/api-ruby","forks_url":"https://api.github.com/repos/conjurinc/api-ruby/forks","keys_url":"https://api.github.com/repos/conjurinc/api-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conjurinc/api-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conjurinc/api-ruby/teams","hooks_url":"https://api.github.com/repos/conjurinc/api-ruby/hooks","issue_events_url":"https://api.github.com/repos/conjurinc/api-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/conjurinc/api-ruby/events","assignees_url":"https://api.github.com/repos/conjurinc/api-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/conjurinc/api-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/conjurinc/api-ruby/tags","blobs_url":"https://api.github.com/repos/conjurinc/api-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conjurinc/api-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conjurinc/api-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/conjurinc/api-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conjurinc/api-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/conjurinc/api-ruby/languages","stargazers_url":"https://api.github.com/repos/conjurinc/api-ruby/stargazers","contributors_url":"https://api.github.com/repos/conjurinc/api-ruby/contributors","subscribers_url":"https://api.github.com/repos/conjurinc/api-ruby/subscribers","subscription_url":"https://api.github.com/repos/conjurinc/api-ruby/subscription","commits_url":"https://api.github.com/repos/conjurinc/api-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/conjurinc/api-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/conjurinc/api-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/conjurinc/api-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/conjurinc/api-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/conjurinc/api-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conjurinc/api-ruby/merges","archive_url":"https://api.github.com/repos/conjurinc/api-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conjurinc/api-ruby/downloads","issues_url":"https://api.github.com/repos/conjurinc/api-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/conjurinc/api-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/conjurinc/api-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/conjurinc/api-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conjurinc/api-ruby/labels{/name}","releases_url":"https://api.github.com/repos/conjurinc/api-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/conjurinc/api-ruby/deployments","created_at":"2013-01-01T16:17:28Z","updated_at":"2016-01-14T15:02:21Z","pushed_at":"2016-03-02T21:49:51Z","git_url":"git://github.com/conjurinc/api-ruby.git","ssh_url":"git@github.com:conjurinc/api-ruby.git","clone_url":"https://github.com/conjurinc/api-ruby.git","svn_url":"https://github.com/conjurinc/api-ruby","homepage":"","size":593,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conjurinc/api-ruby/pulls/69"},"html":{"href":"https://github.com/conjurinc/api-ruby/pull/69"},"issue":{"href":"https://api.github.com/repos/conjurinc/api-ruby/issues/69"},"comments":{"href":"https://api.github.com/repos/conjurinc/api-ruby/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/conjurinc/api-ruby/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/conjurinc/api-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conjurinc/api-ruby/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/conjurinc/api-ruby/statuses/90f44aac1d059a2e5b90315722f0f0fada5b65ee"}}}}