Class: AfterbanksPSD2::Response
- Inherits:
-
Object
- Object
- AfterbanksPSD2::Response
- Defined in:
- lib/afterbanks_psd2/response.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#debug_id ⇒ Object
Returns the value of attribute debug_id.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result:, body:, debug_id:) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(result:, body:, debug_id:) ⇒ Response
Returns a new instance of Response.
5 6 7 8 9 |
# File 'lib/afterbanks_psd2/response.rb', line 5 def initialize(result:, body:, debug_id:) @result = result @body = body @debug_id = debug_id end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
3 4 5 |
# File 'lib/afterbanks_psd2/response.rb', line 3 def body @body end |
#debug_id ⇒ Object
Returns the value of attribute debug_id.
3 4 5 |
# File 'lib/afterbanks_psd2/response.rb', line 3 def debug_id @debug_id end |
#result ⇒ Object
Returns the value of attribute result.
3 4 5 |
# File 'lib/afterbanks_psd2/response.rb', line 3 def result @result end |