Class: Height::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/height/response.rb

Class Method Summary collapse

Class Method Details

.parse(json) ⇒ Object



3
4
5
6
# File 'lib/height/response.rb', line 3

def parse(json)
  response = JSON.parse(json)
  Height::Model.for(response)
end