Method: Stripe::Climate::Order.update

Defined in:
lib/stripe/resources/climate/order.rb

.update(id, params = {}, opts = {}) ⇒ Object

Updates the specified order by setting the values of the parameters passed.



57
58
59
60
61
62
63
64
# File 'lib/stripe/resources/climate/order.rb', line 57

def self.update(id, params = {}, opts = {})
  request_stripe_object(
    method: :post,
    path: format("/v1/climate/orders/%<id>s", { id: CGI.escape(id) }),
    params: params,
    opts: opts
  )
end