class Tripletexer::Endpoints::Product

Public Instance Methods

create(body) click to toggle source

tripletex.no/v2-docs/#!/product/post

# File lib/tripletexer/endpoints/product.rb, line 17
def create(body)
  create_entity('/v2/product', body)
end
find(id, params = {}) click to toggle source

tripletex.no/v2-docs/#!/product/get

# File lib/tripletexer/endpoints/product.rb, line 12
def find(id, params = {})
  find_entity("/v2/product/#{id}", params)
end
unit() click to toggle source
# File lib/tripletexer/endpoints/product.rb, line 26
def unit
  ::Tripletexer::Endpoints::Product::Unit.new(api_client)
end
update(id, body = {}) click to toggle source

tripletex.no/v2-docs/#!/product/put

# File lib/tripletexer/endpoints/product.rb, line 22
def update(id, body = {})
  update_entity("/v2/product/#{id}", body)
end