Module: Juke::API

Extended by:
Forwardable
Defined in:
lib/juke/api.rb

Instance Method Summary collapse

Instance Method Details

#adapterObject



10
11
12
# File 'lib/juke/api.rb', line 10

def adapter
  Juke.adapter
end

#formatterObject



14
15
16
# File 'lib/juke/api.rb', line 14

def formatter
  Juke.formatter
end

#response_bodyObject



18
19
20
# File 'lib/juke/api.rb', line 18

def response_body
  formatter.decode(raw_response_body)
end