Class: Modulr::Resources::Payments::Counterparty
- Defined in:
- lib/modulr/resources/payments/counterparty.rb
Instance Attribute Summary collapse
-
#identifier ⇒ Object
readonly
Returns the value of attribute identifier.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(response, attributes = {}) ⇒ Counterparty
constructor
A new instance of Counterparty.
Methods inherited from Base
Constructor Details
#initialize(response, attributes = {}) ⇒ Counterparty
Returns a new instance of Counterparty.
12 13 14 15 16 |
# File 'lib/modulr/resources/payments/counterparty.rb', line 12 def initialize(response, attributes = {}) super(response, attributes) @identifier = Accounts::Identifier.new(nil, attributes[:identifier]) end |
Instance Attribute Details
#identifier ⇒ Object (readonly)
Returns the value of attribute identifier.
7 8 9 |
# File 'lib/modulr/resources/payments/counterparty.rb', line 7 def identifier @identifier end |