Sha256: 38b913b7952f67a01fee7f1d4c4f1d1f8fdebeea1aac39ac0343f00d75a06123

Contents?: true

Size: 227 Bytes

Versions: 2

Compression:

Stored size: 227 Bytes

Contents

module Passworks
  class AssetResource < Resource

    # Deletes the current Asset
    # @return [Boolean]
    def delete
      client.delete("#{collection_name}/#{id}").ok?
    end
    alias_method :destroy, :delete

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
passworks-2.0.7 lib/passworks/asset_resource.rb
passworks-2.0.6 lib/passworks/asset_resource.rb