lib/maestrano/account/recurring_bill.rb in maestrano-0.3.0 vs lib/maestrano/account/recurring_bill.rb in maestrano-0.4.0
- old
+ new
@@ -3,11 +3,11 @@
class RecurringBill < Maestrano::API::Resource
include Maestrano::API::Operation::List
include Maestrano::API::Operation::Create
def cancel
- response, api_key = Maestrano::API::Operation::Base.request(:delete, url, @api_key)
- refresh_from(response, api_key)
+ response, api_token = Maestrano::API::Operation::Base.request(:delete, url, @api_token)
+ refresh_from(response, api_token)
self
end
end
end
end
\ No newline at end of file