Class: VertexClient::Response::Base
- Inherits:
-
Object
- Object
- VertexClient::Response::Base
- Defined in:
- lib/vertex_client/responses/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(vertex_response) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(vertex_response) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/vertex_client/responses/base.rb', line 6 def initialize(vertex_response) @body = vertex_response.body[:vertex_envelope][response_key].with_indifferent_access end |