module Spree::API::Client::Adjustments

Public Instance Methods

adjustment(id, options={}) click to toggle source
# File lib/spree-api-client/adjustments.rb, line 5
def adjustment(id, options={})
  get("adjustments/#{id}", options)
end
adjustments(options={}) click to toggle source
# File lib/spree-api-client/adjustments.rb, line 9
def adjustments(options={})
  get('adjustments', options)
end
create_adjustment(options={}) click to toggle source
# File lib/spree-api-client/adjustments.rb, line 13
def create_adjustment(options={})
  post("adjustments", options)
end
update_adjustment(id, options={}) click to toggle source
# File lib/spree-api-client/adjustments.rb, line 17
def update_adjustment(id, options={})
  post("adjustments", options)
end