Module: GDAXClient::HTTP::ProductTicker::Get::Response::Transformer

Defined in:
lib/gdax_client/http/product_ticker/get/response.rb

Defined Under Namespace

Modules: JSON

Class Method Summary collapse

Class Method Details

.instance(raw_data) ⇒ Object



29
30
31
32
33
# File 'lib/gdax_client/http/product_ticker/get/response.rb', line 29

def self.instance(raw_data)
  response = Response.build
  response.data = Response::Data.build(raw_data)
  response
end

.jsonObject



25
26
27
# File 'lib/gdax_client/http/product_ticker/get/response.rb', line 25

def self.json
  JSON
end