Class: Exa::Responses::Import

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

Class Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



52
53
54
55
# File 'lib/exa/responses/import_response.rb', line 52

def self.from_hash(hash)
  sym = Helpers.symbolize_keys(hash)
  new(**ImportResponseHelpers.build_common(sym))
end