{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/comments/36468891","id":36468891,"diff_hunk":"@@ -28,16 +22,22 @@ def self.included(base)\n       end\n     end\n \n-    # Override the default {Her::Model}#inspect behavior.\n+    # Provide class name for object\n+    #\n+    def class_name\n+      self.class.name.split(\"::\").last.downcase\n+    end\n+\n+    # Override the default #inspect behavior.\n     #\n     # The original behavior actually invokes each attribute accessor, which can\n     # be somewhat problematic when the accessors have been overridden. This\n     # implementation simply reports the contents of the attributes hash.\n     def inspect\n       attrs = attributes.map do |x, y|\n-        [ x, attribute_for_inspect(y) ].join('=')\n+        [ x, y ].join('=')\n       end\n-      \"#<#{self.class}(#{request_path}) #{attrs.join(' ')}>\"\n+      \"#<#{self.class}(#{uri}) #{attrs.join(' ')}>\"\n     end\n \n     # Override the default {Her::Model}#method_misssing behavior.","path":"lib/puppet_forge/lazy_accessors.rb","position":42,"original_position":42,"commit_id":"a0f65e44f4c51601c7de962b8ab40a6b0e918698","original_commit_id":"a0f65e44f4c51601c7de962b8ab40a6b0e918698","user":{"login":"andersonmills","id":5975010,"avatar_url":"https://avatars.githubusercontent.com/u/5975010?v=3","gravatar_id":"","url":"https://api.github.com/users/andersonmills","html_url":"https://github.com/andersonmills","followers_url":"https://api.github.com/users/andersonmills/followers","following_url":"https://api.github.com/users/andersonmills/following{/other_user}","gists_url":"https://api.github.com/users/andersonmills/gists{/gist_id}","starred_url":"https://api.github.com/users/andersonmills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andersonmills/subscriptions","organizations_url":"https://api.github.com/users/andersonmills/orgs","repos_url":"https://api.github.com/users/andersonmills/repos","events_url":"https://api.github.com/users/andersonmills/events{/privacy}","received_events_url":"https://api.github.com/users/andersonmills/received_events","type":"User","site_admin":false},"body":"This is not accurate any longer","created_at":"2015-08-06T21:34:48Z","updated_at":"2015-08-06T21:34:48Z","html_url":"https://github.com/puppetlabs/forge-ruby/pull/13#discussion_r36468891","pull_request_url":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/comments/36468891"},"html":{"href":"https://github.com/puppetlabs/forge-ruby/pull/13#discussion_r36468891"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/13","id":41805718,"html_url":"https://github.com/puppetlabs/forge-ruby/pull/13","diff_url":"https://github.com/puppetlabs/forge-ruby/pull/13.diff","patch_url":"https://github.com/puppetlabs/forge-ruby/pull/13.patch","issue_url":"https://api.github.com/repos/puppetlabs/forge-ruby/issues/13","number":13,"state":"open","locked":false,"title":"Lazy access for missing information","user":{"login":"austb","id":4520807,"avatar_url":"https://avatars.githubusercontent.com/u/4520807?v=3","gravatar_id":"","url":"https://api.github.com/users/austb","html_url":"https://github.com/austb","followers_url":"https://api.github.com/users/austb/followers","following_url":"https://api.github.com/users/austb/following{/other_user}","gists_url":"https://api.github.com/users/austb/gists{/gist_id}","starred_url":"https://api.github.com/users/austb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austb/subscriptions","organizations_url":"https://api.github.com/users/austb/orgs","repos_url":"https://api.github.com/users/austb/repos","events_url":"https://api.github.com/users/austb/events{/privacy}","received_events_url":"https://api.github.com/users/austb/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-06T16:11:09Z","updated_at":"2015-08-06T21:34:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8809914285d7dae1a8f70a46a7aad28596dd7f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/13/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/13/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/forge-ruby/issues/13/comments","statuses_url":"https://api.github.com/repos/puppetlabs/forge-ruby/statuses/a0f65e44f4c51601c7de962b8ab40a6b0e918698","head":{"label":"austb:task/2.0.x/codemgmt-299_lazy_accessors","ref":"task/2.0.x/codemgmt-299_lazy_accessors","sha":"a0f65e44f4c51601c7de962b8ab40a6b0e918698","user":{"login":"austb","id":4520807,"avatar_url":"https://avatars.githubusercontent.com/u/4520807?v=3","gravatar_id":"","url":"https://api.github.com/users/austb","html_url":"https://github.com/austb","followers_url":"https://api.github.com/users/austb/followers","following_url":"https://api.github.com/users/austb/following{/other_user}","gists_url":"https://api.github.com/users/austb/gists{/gist_id}","starred_url":"https://api.github.com/users/austb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austb/subscriptions","organizations_url":"https://api.github.com/users/austb/orgs","repos_url":"https://api.github.com/users/austb/repos","events_url":"https://api.github.com/users/austb/events{/privacy}","received_events_url":"https://api.github.com/users/austb/received_events","type":"User","site_admin":false},"repo":{"id":39471801,"name":"forge-ruby","full_name":"austb/forge-ruby","owner":{"login":"austb","id":4520807,"avatar_url":"https://avatars.githubusercontent.com/u/4520807?v=3","gravatar_id":"","url":"https://api.github.com/users/austb","html_url":"https://github.com/austb","followers_url":"https://api.github.com/users/austb/followers","following_url":"https://api.github.com/users/austb/following{/other_user}","gists_url":"https://api.github.com/users/austb/gists{/gist_id}","starred_url":"https://api.github.com/users/austb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austb/subscriptions","organizations_url":"https://api.github.com/users/austb/orgs","repos_url":"https://api.github.com/users/austb/repos","events_url":"https://api.github.com/users/austb/events{/privacy}","received_events_url":"https://api.github.com/users/austb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/austb/forge-ruby","description":"Ruby client for the Puppet Forge API","fork":true,"url":"https://api.github.com/repos/austb/forge-ruby","forks_url":"https://api.github.com/repos/austb/forge-ruby/forks","keys_url":"https://api.github.com/repos/austb/forge-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/austb/forge-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/austb/forge-ruby/teams","hooks_url":"https://api.github.com/repos/austb/forge-ruby/hooks","issue_events_url":"https://api.github.com/repos/austb/forge-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/austb/forge-ruby/events","assignees_url":"https://api.github.com/repos/austb/forge-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/austb/forge-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/austb/forge-ruby/tags","blobs_url":"https://api.github.com/repos/austb/forge-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/austb/forge-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/austb/forge-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/austb/forge-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/austb/forge-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/austb/forge-ruby/languages","stargazers_url":"https://api.github.com/repos/austb/forge-ruby/stargazers","contributors_url":"https://api.github.com/repos/austb/forge-ruby/contributors","subscribers_url":"https://api.github.com/repos/austb/forge-ruby/subscribers","subscription_url":"https://api.github.com/repos/austb/forge-ruby/subscription","commits_url":"https://api.github.com/repos/austb/forge-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/austb/forge-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/austb/forge-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/austb/forge-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/austb/forge-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/austb/forge-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/austb/forge-ruby/merges","archive_url":"https://api.github.com/repos/austb/forge-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/austb/forge-ruby/downloads","issues_url":"https://api.github.com/repos/austb/forge-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/austb/forge-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/austb/forge-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/austb/forge-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/austb/forge-ruby/labels{/name}","releases_url":"https://api.github.com/repos/austb/forge-ruby/releases{/id}","created_at":"2015-07-21T21:53:28Z","updated_at":"2015-07-21T21:53:29Z","pushed_at":"2015-08-06T20:52:48Z","git_url":"git://github.com/austb/forge-ruby.git","ssh_url":"git@github.com:austb/forge-ruby.git","clone_url":"https://github.com/austb/forge-ruby.git","svn_url":"https://github.com/austb/forge-ruby","homepage":null,"size":545,"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":"puppetlabs:2.0.x","ref":"2.0.x","sha":"4ce19f7186efde54504dcf8571c7c27291d98edc","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":19760079,"name":"forge-ruby","full_name":"puppetlabs/forge-ruby","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/forge-ruby","description":"Ruby client for the Puppet Forge API","fork":false,"url":"https://api.github.com/repos/puppetlabs/forge-ruby","forks_url":"https://api.github.com/repos/puppetlabs/forge-ruby/forks","keys_url":"https://api.github.com/repos/puppetlabs/forge-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/forge-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/forge-ruby/teams","hooks_url":"https://api.github.com/repos/puppetlabs/forge-ruby/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/forge-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/forge-ruby/events","assignees_url":"https://api.github.com/repos/puppetlabs/forge-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/forge-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/forge-ruby/tags","blobs_url":"https://api.github.com/repos/puppetlabs/forge-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/forge-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/forge-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/forge-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/forge-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/forge-ruby/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/forge-ruby/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/forge-ruby/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/forge-ruby/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/forge-ruby/subscription","commits_url":"https://api.github.com/repos/puppetlabs/forge-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/forge-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/forge-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/forge-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/forge-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/forge-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/forge-ruby/merges","archive_url":"https://api.github.com/repos/puppetlabs/forge-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/forge-ruby/downloads","issues_url":"https://api.github.com/repos/puppetlabs/forge-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/forge-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/forge-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/forge-ruby/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/forge-ruby/releases{/id}","created_at":"2014-05-13T23:56:39Z","updated_at":"2015-04-08T15:40:13Z","pushed_at":"2015-08-06T20:29:11Z","git_url":"git://github.com/puppetlabs/forge-ruby.git","ssh_url":"git@github.com:puppetlabs/forge-ruby.git","clone_url":"https://github.com/puppetlabs/forge-ruby.git","svn_url":"https://github.com/puppetlabs/forge-ruby","homepage":null,"size":858,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/13"},"html":{"href":"https://github.com/puppetlabs/forge-ruby/pull/13"},"issue":{"href":"https://api.github.com/repos/puppetlabs/forge-ruby/issues/13"},"comments":{"href":"https://api.github.com/repos/puppetlabs/forge-ruby/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/forge-ruby/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/forge-ruby/statuses/a0f65e44f4c51601c7de962b8ab40a6b0e918698"}}}}