Class: ApiModel::Builder::Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/api_model/builder/hash.rb

Instance Method Summary collapse

Instance Method Details

#build(response) ⇒ Object



5
6
7
# File 'lib/api_model/builder/hash.rb', line 5

def build(response)
  response if response.is_a?(Hash)
end