Class: Modulr::Resources::Payments::Details::Outgoing::General
- Defined in:
- lib/modulr/resources/payments/details/outgoing/general.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
readonly
Returns the value of attribute destination.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(response, attributes = {}) ⇒ General
constructor
A new instance of General.
Methods inherited from Base
Constructor Details
#initialize(response, attributes = {}) ⇒ General
Returns a new instance of General.
16 17 18 19 |
# File 'lib/modulr/resources/payments/details/outgoing/general.rb', line 16 def initialize(response, attributes = {}) super(response, attributes) @destination = Destination.new(nil, attributes[:destination]) end |
Instance Attribute Details
#destination ⇒ Object (readonly)
Returns the value of attribute destination.
9 10 11 |
# File 'lib/modulr/resources/payments/details/outgoing/general.rb', line 9 def destination @destination end |