lib/quick_travel/checkout.rb in quicktravel_client-1.1.0 vs lib/quick_travel/checkout.rb in quicktravel_client-1.1.1

- old
+ new

@@ -29,11 +29,11 @@ # error: 'Reason for failure' def self.status(id) build_checkout_for { get_and_validate("/api/checkouts/#{id}.json") } end - def self.process_redirect(id, data) - build_checkout_for { get_and_validate("/api/checkouts/#{id}/process_redirect.json", data) } + def self.update(id, data) + build_checkout_for { put_and_validate("/api/checkouts/#{id}.json", data) } end def self.build_checkout_for(&block) new(attributes_for(&block)) end