Class: ACTV::Interest
Instance Attribute Summary collapse
-
#assetServiceHostName ⇒ Object
(also: #asset_service_host_name)
readonly
Returns the value of attribute assetServiceHostName.
-
#createdDate ⇒ Object
(also: #created_date)
readonly
Returns the value of attribute createdDate.
-
#imgUrlAdr ⇒ Object
(also: #image_url)
readonly
Returns the value of attribute imgUrlAdr.
-
#interestAttributes ⇒ Object
(also: #attributes)
readonly
Returns the value of attribute interestAttributes.
-
#interestGuid ⇒ Object
(also: #id)
readonly
Returns the value of attribute interestGuid.
-
#interestName ⇒ Object
(also: #name)
readonly
Returns the value of attribute interestName.
-
#modifiedDate ⇒ Object
(also: #modified_date)
readonly
Returns the value of attribute modifiedDate.
-
#sorCreatedBy ⇒ Object
(also: #created_by)
readonly
Returns the value of attribute sorCreatedBy.
-
#sorModifiedBy ⇒ Object
(also: #modified_by)
readonly
Returns the value of attribute sorModifiedBy.
-
#urlAdr ⇒ Object
(also: #url)
readonly
Returns the value of attribute urlAdr.
Attributes inherited from Base
Instance Method Summary collapse
- #tags ⇒ Object (also: #interest_tags, #interestTags)
- #topics ⇒ Object (also: #interest_topics, #interestTopics)
Methods inherited from Identity
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
#assetServiceHostName ⇒ Object (readonly) Also known as: asset_service_host_name
Returns the value of attribute assetServiceHostName.
8 9 10 |
# File 'lib/actv/interest.rb', line 8 def assetServiceHostName @assetServiceHostName end |
#createdDate ⇒ Object (readonly) Also known as: created_date
Returns the value of attribute createdDate.
8 9 10 |
# File 'lib/actv/interest.rb', line 8 def createdDate @createdDate end |
#imgUrlAdr ⇒ Object (readonly) Also known as: image_url
Returns the value of attribute imgUrlAdr.
8 9 10 |
# File 'lib/actv/interest.rb', line 8 def imgUrlAdr @imgUrlAdr end |
#interestAttributes ⇒ Object (readonly) Also known as: attributes
Returns the value of attribute interestAttributes.
8 9 10 |
# File 'lib/actv/interest.rb', line 8 def interestAttributes @interestAttributes end |
#interestGuid ⇒ Object (readonly) Also known as: id
Returns the value of attribute interestGuid.
8 9 10 |
# File 'lib/actv/interest.rb', line 8 def interestGuid @interestGuid end |
#interestName ⇒ Object (readonly) Also known as: name
Returns the value of attribute interestName.
8 9 10 |
# File 'lib/actv/interest.rb', line 8 def interestName @interestName end |
#modifiedDate ⇒ Object (readonly) Also known as: modified_date
Returns the value of attribute modifiedDate.
8 9 10 |
# File 'lib/actv/interest.rb', line 8 def modifiedDate @modifiedDate end |
#sorCreatedBy ⇒ Object (readonly) Also known as: created_by
Returns the value of attribute sorCreatedBy.
8 9 10 |
# File 'lib/actv/interest.rb', line 8 def sorCreatedBy @sorCreatedBy end |
#sorModifiedBy ⇒ Object (readonly) Also known as: modified_by
Returns the value of attribute sorModifiedBy.
8 9 10 |
# File 'lib/actv/interest.rb', line 8 def sorModifiedBy @sorModifiedBy end |
#urlAdr ⇒ Object (readonly) Also known as: url
Returns the value of attribute urlAdr.
8 9 10 |
# File 'lib/actv/interest.rb', line 8 def urlAdr @urlAdr end |
Instance Method Details
#tags ⇒ Object Also known as: interestTags ,
22 23 24 25 26 |
# File 'lib/actv/interest.rb', line 22 def @asset_tags ||= Array(@attrs[:interestTags]).map do |tag| ACTV::AssetTag.new(tag) end end |
#topics ⇒ Object Also known as: interest_topics, interestTopics
30 31 32 33 34 |
# File 'lib/actv/interest.rb', line 30 def topics @asset_topics ||= Array(@attrs[:interestTopics]).map do |topic| ACTV::AssetTopic.new(topic) end end |