Skip to content

Enable conversion to hash #28

Open
s2t2 wants to merge 2 commits intomurraysum:masterfrom
AdvancedEnergyEconomy:master
Open

Enable conversion to hash #28
s2t2 wants to merge 2 commits intomurraysum:masterfrom
AdvancedEnergyEconomy:master

Conversation

@s2t2
Copy link
Copy Markdown

@s2t2 s2t2 commented Sep 7, 2016

Hi, thanks for this gem!

I was hoping to access aFault class instance method to reproduce the original response as json or a ruby hash.

This PR constructs a hash from other instance methods to resemble the original response.

An alternative approach would be to assign the original response to an attribute during initialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant