Class: GoCardlessPro::ApiResponse

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/gocardless_pro/api_response.rb

Overview

wraps a faraday response object with some accessors

Instance Method Summary collapse

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