module Shippo::API::Operations::Update

Public Instance Methods

update(object_id, params={}) click to toggle source
# File lib/shippo/api/operations/update.rb, line 5
def update(object_id, params={})
  response = Shippo::API.put("#{url}/#{CGI.escape(object_id)}/", params)
  self.from(response)
end