Class: Exa::Responses::RawResponse

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/exa/responses/raw_response.rb

Class Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



8
9
10
11
# File 'lib/exa/responses/raw_response.rb', line 8

def self.from_hash(hash)
  sym = Helpers.symbolize_keys(hash)
  new(raw: sym)
end