Method: Bcoin::Client::HttpMethods#get

Defined in:
lib/bcoin/client/http_methods.rb

#get(path, options = {}) ⇒ Object



10
11
12
13
14
15
# File 'lib/bcoin/client/http_methods.rb', line 10

def get path, options = {}
  options[:token] = wallet_token if wallet_token
  response = @client.get base_path + path, options
  set_error_from response
  response
end