Sha256: a26b33e5fb2edf81c3e8b51a4a7a3dea74389c1beb6393b350bbc16151f846b0

Contents?: true

Size: 433 Bytes

Versions: 44

Compression:

Stored size: 433 Bytes

Contents

require 'actv/identity'

module ACTV
  class AssetStatus < ACTV::Identity

    attr_reader :assetStatusId, :assetStatusName, :isSearchable, :isDeleted,
      :createdDate, :modifiedDate

    alias id assetStatusId
    alias name assetStatusName
    alias is_searchable? isSearchable
    alias is_deleted? isDeleted
    alias created_at createdDate
    alias updated_at modifiedDate

    def visible?
      id == '2'
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
actv-2.10.9 lib/actv/asset_status.rb
actv-2.10.8 lib/actv/asset_status.rb
actv-2.10.7 lib/actv/asset_status.rb
actv-2.10.6 lib/actv/asset_status.rb
actv-2.10.5 lib/actv/asset_status.rb
actv-2.10.4 lib/actv/asset_status.rb
actv-2.10.3 lib/actv/asset_status.rb
actv-2.10.2 lib/actv/asset_status.rb
actv-2.10.1 lib/actv/asset_status.rb
actv-2.10.0 lib/actv/asset_status.rb
actv-2.9.2 lib/actv/asset_status.rb
actv-2.9.1 lib/actv/asset_status.rb
actv-2.9.0 lib/actv/asset_status.rb
actv-2.8.2 lib/actv/asset_status.rb
actv-2.8.1 lib/actv/asset_status.rb
actv-2.7.0 lib/actv/asset_status.rb
actv-2.6.0 lib/actv/asset_status.rb
actv-2.5.2 lib/actv/asset_status.rb
actv-2.5.1 lib/actv/asset_status.rb
actv-2.5.0 lib/actv/asset_status.rb