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

- old
+ new

@@ -10,11 +10,11 @@ end if values.length > 0 values.delete(:id) - response, api_key = Maestrano::API::Operation::Base.request(:put, url, @api_key, values) - refresh_from(response, api_key) + response, api_token = Maestrano::API::Operation::Base.request(:put, url, @api_token, values) + refresh_from(response, api_token) end self end def serialize_metadata