Class: Credigy::EmailResponse
- Defined in:
- lib/credigy/email_response.rb
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from Response
#body, #initialize, #root_key, #sub_root_key
Constructor Details
This class inherits a constructor from Credigy::Response
Instance Method Details
#all ⇒ Object
5 6 7 |
# File 'lib/credigy/email_response.rb', line 5 def all Array.wrap(body[:emails][:email]) end |