Class: GoCardlessPro::ApiResponse
- Inherits:
-
Object
- Object
- GoCardlessPro::ApiResponse
- Extended by:
- Forwardable
- Defined in:
- lib/gocardless_pro/api_response.rb
Overview
wraps a faraday response object with some accessors
Instance Method Summary collapse
-
#initialize(response) ⇒ ApiResponse
constructor
A new instance of ApiResponse.
Constructor Details
#initialize(response) ⇒ ApiResponse
Returns a new instance of ApiResponse.
6 7 8 |
# File 'lib/gocardless_pro/api_response.rb', line 6 def initialize(response) @response = response end |