Class: ACTV::AssetStatus

Inherits:
Identity show all
Defined in:
lib/actv/asset_status.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Identity

#==, #initialize

Methods inherited from Base

#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, #delete, from_response, #initialize, #memoize, #method_missing, object_attr_reader, #respond_to?, #to_hash, #update, uri_attr_reader

Constructor Details

This class inherits a constructor from ACTV::Identity

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ACTV::Base

Instance Attribute Details

#assetStatusIdObject (readonly) Also known as: id

Returns the value of attribute assetStatusId.



6
7
8
# File 'lib/actv/asset_status.rb', line 6

def assetStatusId
  @assetStatusId
end

#assetStatusNameObject (readonly) Also known as: name

Returns the value of attribute assetStatusName.



6
7
8
# File 'lib/actv/asset_status.rb', line 6

def assetStatusName
  @assetStatusName
end

#createdDateObject (readonly) Also known as: created_at

Returns the value of attribute createdDate.



6
7
8
# File 'lib/actv/asset_status.rb', line 6

def createdDate
  @createdDate
end

#isDeletedObject (readonly) Also known as: is_deleted?

Returns the value of attribute isDeleted.



6
7
8
# File 'lib/actv/asset_status.rb', line 6

def isDeleted
  @isDeleted
end

#isSearchableObject (readonly) Also known as: is_searchable?

Returns the value of attribute isSearchable.



6
7
8
# File 'lib/actv/asset_status.rb', line 6

def isSearchable
  @isSearchable
end

#modifiedDateObject (readonly) Also known as: updated_at

Returns the value of attribute modifiedDate.



6
7
8
# File 'lib/actv/asset_status.rb', line 6

def modifiedDate
  @modifiedDate
end

Instance Method Details

#visible?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/actv/asset_status.rb', line 16

def visible?
  id == '2'
end