Module: Refocus::JsonHelper

Included in:
Aspects, Perspectives, Samples, Samples::Collector, Subjects
Defined in:
lib/refocus/json_helper.rb

Instance Method Summary collapse

Instance Method Details

#json(response) ⇒ Object



3
4
5
# File 'lib/refocus/json_helper.rb', line 3

def json(response)
  JSON.parse(response.body)
end