lib/maestrano/api/operation/delete.rb in maestrano-0.3.0 vs lib/maestrano/api/operation/delete.rb in maestrano-0.4.0

- old
+ new

@@ -1,11 +1,11 @@ module Maestrano module API module Operation module Delete def delete(params = {}) - response, api_key = Maestrano::API::Operation::Base.request(:delete, url, @api_key, params) - refresh_from(response, api_key) + response, api_token = Maestrano::API::Operation::Base.request(:delete, url, @api_token, params) + refresh_from(response, api_token) self end end end end \ No newline at end of file