Class: Glare::ApiResponse
- Inherits:
-
Object
- Object
- Glare::ApiResponse
- Defined in:
- lib/glare/api_response.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ ApiResponse
constructor
A new instance of ApiResponse.
- #result ⇒ Object
- #valid! ⇒ Object
Constructor Details
#initialize(response) ⇒ ApiResponse
Returns a new instance of ApiResponse.
5 6 7 |
# File 'lib/glare/api_response.rb', line 5 def initialize(response) @response = response end |