Class: OldPlaid::Information
- Inherits:
-
Object
- Object
- OldPlaid::Information
- Defined in:
- lib/old_plaid/models/info.rb
Instance Attribute Summary collapse
-
#addresses ⇒ Object
Returns the value of attribute addresses.
-
#emails ⇒ Object
Returns the value of attribute emails.
-
#names ⇒ Object
Returns the value of attribute names.
-
#phone_numbers ⇒ Object
Returns the value of attribute phone_numbers.
Instance Method Summary collapse
-
#initialize(hash) ⇒ Information
constructor
A new instance of Information.
Constructor Details
#initialize(hash) ⇒ Information
Returns a new instance of Information.
5 6 7 8 9 10 |
# File 'lib/old_plaid/models/info.rb', line 5 def initialize(hash) @names = hash['names'] @emails = hash['emails'] @phone_numbers = hash['phone_numbers'] @addresses = hash['addresses'] end |
Instance Attribute Details
#addresses ⇒ Object
Returns the value of attribute addresses.
3 4 5 |
# File 'lib/old_plaid/models/info.rb', line 3 def addresses @addresses end |
#emails ⇒ Object
Returns the value of attribute emails.
3 4 5 |
# File 'lib/old_plaid/models/info.rb', line 3 def emails @emails end |
#names ⇒ Object
Returns the value of attribute names.
3 4 5 |
# File 'lib/old_plaid/models/info.rb', line 3 def names @names end |
#phone_numbers ⇒ Object
Returns the value of attribute phone_numbers.
3 4 5 |
# File 'lib/old_plaid/models/info.rb', line 3 def phone_numbers @phone_numbers end |