class Coinbasepro::Api::EMHTTPResponse
EM-Http response object
Public Instance Methods
body()
click to toggle source
# File lib/coinbasepro/api/adapters/em_http.rb, line 67 def body @response.response end
headers()
click to toggle source
# File lib/coinbasepro/api/adapters/em_http.rb, line 71 def headers out = @response.response_header.map do |key, val| [ key.upcase.gsub('_', '-'), val ] end out.to_h end
status()
click to toggle source
# File lib/coinbasepro/api/adapters/em_http.rb, line 78 def status @response.response_header.status end