Module: GDAXClient::Controls::HTTP::ProductTicker::Get::Response::Failure

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

Defined Under Namespace

Modules: Message, StatusCode

Class Method Summary collapse

Class Method Details

.exampleObject



44
45
46
47
48
49
50
51
# File 'lib/gdax_client/controls/http/product_ticker/get/response.rb', line 44

def self.example
  response = GDAXClient::HTTP::ProductTicker::Get::Response.build

  response.status_code = StatusCode.sample
  response.message = Message.sample

  response
end