Title: Hyperclient::Resource#to_h != Hyperclient::Resource#to_hash · Issue #103 · codegram/hyperclient · GitHub
Open Graph Title: Hyperclient::Resource#to_h != Hyperclient::Resource#to_hash · Issue #103 · codegram/hyperclient
X Title: Hyperclient::Resource#to_h != Hyperclient::Resource#to_hash · Issue #103 · codegram/hyperclient
Description: Hi guys, I'm using v0.8.1 and am having a discrepancy when using #to_h in place of #to_hash on a Hyperclient::Resource. cluster_meters = Source.clusters._get.by_id(id: id)._get.meters._embedded meter = gateway_meters.all.first expect(met...
Open Graph Description: Hi guys, I'm using v0.8.1 and am having a discrepancy when using #to_h in place of #to_hash on a Hyperclient::Resource. cluster_meters = Source.clusters._get.by_id(id: id)._get.meters._embedded met...
X Description: Hi guys, I'm using v0.8.1 and am having a discrepancy when using #to_h in place of #to_hash on a Hyperclient::Resource. cluster_meters = Source.clusters._get.by_id(id: id)._get.meters._embedded...
Opengraph URL: https://github.com/codegram/hyperclient/issues/103
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hyperclient::Resource#to_h != Hyperclient::Resource#to_hash","articleBody":"Hi guys, I'm using v0.8.1 and am having a discrepancy when using #to_h in place of #to_hash on a Hyperclient::Resource.\n\n``` ruby\ncluster_meters = Source.clusters._get.by_id(id: id)._get.meters._embedded\nmeter = gateway_meters.all.first\nexpect(meter.to_h).to eq(meter.to_hash)\n```\n\nHowever the call to #to_h returns nil, while the call to #to_hash returns the expected hash\n","author":{"url":"https://github.com/jufemaiz","@type":"Person","name":"jufemaiz"},"datePublished":"2016-08-16T03:48:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/103/hyperclient/issues/103"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:23b54a77-2a68-cab9-6433-4cbd7a800a49 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B23C:F5406:178F0DE:215BA91:6978D19C |
| html-safe-nonce | 1c01a92409af7d11d4f23eff5b6d028fce4eaaad1a30b3f13fc0201aaedc2509 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjNDOkY1NDA2OjE3OEYwREU6MjE1QkE5MTo2OTc4RDE5QyIsInZpc2l0b3JfaWQiOiI2NjkxNDgyODYwNTEyNjYxOTE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1cdbe6338e67c7d5ddeba647312431bb9db1fb95255c37a95942cf63693f0c14 |
| hovercard-subject-tag | issue:171319365 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codegram/hyperclient/103/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0646b4716151b2d97de1e1b4f63c24ee2ef5050033cf9854bd8cf05e782628c8/codegram/hyperclient/issues/103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0646b4716151b2d97de1e1b4f63c24ee2ef5050033cf9854bd8cf05e782628c8/codegram/hyperclient/issues/103 |
| og:image:alt | Hi guys, I'm using v0.8.1 and am having a discrepancy when using #to_h in place of #to_hash on a Hyperclient::Resource. cluster_meters = Source.clusters._get.by_id(id: id)._get.meters._embedded met... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jufemaiz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8a71ca1f7ab5436216e1df86f398ef7a51ed3152c90e3f7332fc70cf97fcb9d6 |
| turbo-cache-control | no-preview |
| go-import | github.com/codegram/hyperclient git https://github.com/codegram/hyperclient.git |
| octolytics-dimension-user_id | 82056 |
| octolytics-dimension-user_login | codegram |
| octolytics-dimension-repository_id | 3877860 |
| octolytics-dimension-repository_nwo | codegram/hyperclient |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3877860 |
| octolytics-dimension-repository_network_root_nwo | codegram/hyperclient |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | eaed570eead52a9920afef75dc3eb6d826fdc5ef |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width