Sha256: 1efebadcdfee7ca339cb7fad07ccc9b463cecb5736020157d286a583c271140d

Contents?: true

Size: 326 Bytes

Versions: 22

Compression:

Stored size: 326 Bytes

Contents

module Maestrano
  module API
    module Operation
      module Delete
        def delete(params = {})
          response, api_token = Maestrano::API::Operation::Base[self.class.preset].request(:delete, url, @api_token, params)
          refresh_from(response, api_token)
          self
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
maestrano-1.0.6 lib/maestrano/api/operation/delete.rb
maestrano-1.0.5 lib/maestrano/api/operation/delete.rb
maestrano-1.0.4 lib/maestrano/api/operation/delete.rb
maestrano-1.0.3 lib/maestrano/api/operation/delete.rb
maestrano-1.0.2 lib/maestrano/api/operation/delete.rb
maestrano-1.0.1 lib/maestrano/api/operation/delete.rb
maestrano-1.0.0 lib/maestrano/api/operation/delete.rb
maestrano-1.0.0.pre.RC9 lib/maestrano/api/operation/delete.rb
maestrano-1.0.0.pre.RC8 lib/maestrano/api/operation/delete.rb
maestrano-1.0.0.pre.RC7 lib/maestrano/api/operation/delete.rb
maestrano-1.0.0.pre.RC6 lib/maestrano/api/operation/delete.rb
maestrano-1.0.0.pre.RC5 lib/maestrano/api/operation/delete.rb
maestrano-1.0.0.pre.RC4 lib/maestrano/api/operation/delete.rb
maestrano-1.0.0.pre.RC3 lib/maestrano/api/operation/delete.rb
maestrano-1.0.0.pre.RC2 lib/maestrano/api/operation/delete.rb
maestrano-1.0.0.pre.RC1 lib/maestrano/api/operation/delete.rb
maestrano-0.12.5 lib/maestrano/api/operation/delete.rb
maestrano-0.12.4 lib/maestrano/api/operation/delete.rb
maestrano-0.12.3 lib/maestrano/api/operation/delete.rb
maestrano-0.12.2 lib/maestrano/api/operation/delete.rb