Class: TypeformData::ApiResponse

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/typeform_data/api_response.rb

Instance Method Summary collapse

Instance Method Details

#jsonObject



8
9
10
# File 'lib/typeform_data/api_response.rb', line 8

def json
  body
end

#parsed_jsonObject



12
13
14
# File 'lib/typeform_data/api_response.rb', line 12

def parsed_json
  @_parsed_json ||= JSON.parse(body)
end