Class: ACTV::AssetImage
Instance Attribute Summary collapse
-
#imageCaptionTxt ⇒ Object
(also: #caption)
readonly
Returns the value of attribute imageCaptionTxt.
-
#imageName ⇒ Object
(also: #name)
readonly
Returns the value of attribute imageName.
-
#imageType ⇒ Object
(also: #type)
readonly
Returns the value of attribute imageType.
-
#imageUrlAdr ⇒ Object
(also: #url)
readonly
Returns the value of attribute imageUrlAdr.
-
#linkTarget ⇒ Object
(also: #target)
readonly
Returns the value of attribute linkTarget.
-
#linkUrl ⇒ Object
(also: #link)
readonly
Returns the value of attribute linkUrl.
Attributes inherited from Base
Instance Method Summary collapse
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::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ACTV::Base
Instance Attribute Details
#imageCaptionTxt ⇒ Object (readonly) Also known as:
Returns the value of attribute imageCaptionTxt.
3 4 5 |
# File 'lib/actv/asset_image.rb', line 3 def imageCaptionTxt @imageCaptionTxt end |
#imageName ⇒ Object (readonly) Also known as: name
Returns the value of attribute imageName.
3 4 5 |
# File 'lib/actv/asset_image.rb', line 3 def imageName @imageName end |
#imageType ⇒ Object (readonly) Also known as: type
Returns the value of attribute imageType.
3 4 5 |
# File 'lib/actv/asset_image.rb', line 3 def imageType @imageType end |
#imageUrlAdr ⇒ Object (readonly) Also known as: url
Returns the value of attribute imageUrlAdr.
3 4 5 |
# File 'lib/actv/asset_image.rb', line 3 def imageUrlAdr @imageUrlAdr end |
#linkTarget ⇒ Object (readonly) Also known as: target
Returns the value of attribute linkTarget.
3 4 5 |
# File 'lib/actv/asset_image.rb', line 3 def linkTarget @linkTarget end |
#linkUrl ⇒ Object (readonly) Also known as: link
Returns the value of attribute linkUrl.
3 4 5 |
# File 'lib/actv/asset_image.rb', line 3 def linkUrl @linkUrl end |
Instance Method Details
#to_s ⇒ Object
20 21 22 |
# File 'lib/actv/asset_image.rb', line 20 def to_s imageUrlAdr end |
#to_str ⇒ Object
16 17 18 |
# File 'lib/actv/asset_image.rb', line 16 def to_str imageUrlAdr end |
#video? ⇒ Boolean
12 13 14 |
# File 'lib/actv/asset_image.rb', line 12 def video? target == "VIDEO" || type == "VIDEO" end |