class Genba::Client::Prices
Public Class Methods
new(client)
click to toggle source
# File lib/genba/client/prices.rb, line 6 def initialize(client) @client = client end
Public Instance Methods
list(continuation_token: nil, params: {}, headers: {})
click to toggle source
Gets a collection of prices
# File lib/genba/client/prices.rb, line 11 def list(continuation_token: nil, params: {}, headers: {}) payload = { continuationtoken: continuation_token }.select { |_, v| !v.nil? }.merge(params) @client.rest_get_with_token('/prices', payload, headers) end