module Tapbot::Client::Prices

Public Instance Methods

price() click to toggle source
# File lib/tapbot/client/prices.rb, line 5
def price
  response = self.class.get("/price", headers: auth_headers("/price"))
  raise Tapbot::Error, response["errors"][0] unless response.success?
  response
end