class GDAXClient
Public Class Methods
build()
click to toggle source
# File lib/gdax_client/gdax_client.rb, line 8 def self.build instance = new Settings.set(instance) instance end
Public Instance Methods
get(endpoint)
click to toggle source
# File lib/gdax_client/gdax_client.rb, line 14 def get(endpoint) uri = URI(url + endpoint) logger.trace "Sending HTTP GET request (URI: #{uri})" response = Net::HTTP.get_response(uri) logger.debug "HTTP GET response received (URI: #{uri}, Code: #{response.code}, Message: #{response.message})" response end