Class: ACTV::AssetDescription
- Defined in:
- lib/actv/asset_description.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
Attributes inherited from Base
Instance Method Summary collapse
- #type ⇒ Object (also: #description_type, #descriptionType)
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
#description ⇒ Object (readonly)
Returns the value of attribute description.
6 7 8 |
# File 'lib/actv/asset_description.rb', line 6 def description @description end |
Instance Method Details
#type ⇒ Object Also known as: description_type, descriptionType
8 9 10 |
# File 'lib/actv/asset_description.rb', line 8 def type @description_type ||= ACTV::AssetDescriptionType.new(@attrs[:descriptionType]) unless @attrs[:descriptionType].nil? end |