Class: AfterbanksPSD2::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/afterbanks_psd2/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject

Returns the value of attribute body.



3
4
5
# File 'lib/afterbanks_psd2/response.rb', line 3

def body
  @body
end

#debug_idObject

Returns the value of attribute debug_id.



3
4
5
# File 'lib/afterbanks_psd2/response.rb', line 3

def debug_id
  @debug_id
end

#resultObject

Returns the value of attribute result.



3
4
5
# File 'lib/afterbanks_psd2/response.rb', line 3

def result
  @result
end