Class: Echowrap::Asset
Instance Attribute Summary collapse
-
#explicit ⇒ Object
readonly
Returns the value of attribute explicit.
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#release ⇒ Object
readonly
Returns the value of attribute release.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#year ⇒ Object
readonly
Returns the value of attribute year.
Instance Method Summary collapse
Methods inherited from Base
#==, attr_reader, #attrs, #initialize, #update
Constructor Details
This class inherits a constructor from Echowrap::Base
Instance Attribute Details
#explicit ⇒ Object (readonly)
Returns the value of attribute explicit.
5 6 7 |
# File 'lib/echowrap/asset.rb', line 5 def explicit @explicit end |
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
5 6 7 |
# File 'lib/echowrap/asset.rb', line 5 def filename @filename end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/echowrap/asset.rb', line 5 def id @id end |
#release ⇒ Object (readonly)
Returns the value of attribute release.
5 6 7 |
# File 'lib/echowrap/asset.rb', line 5 def release @release end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/echowrap/asset.rb', line 5 def title @title end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
5 6 7 |
# File 'lib/echowrap/asset.rb', line 5 def type @type end |
#year ⇒ Object (readonly)
Returns the value of attribute year.
5 6 7 |
# File 'lib/echowrap/asset.rb', line 5 def year @year end |
Instance Method Details
#echonest_ids ⇒ Object
7 8 9 |
# File 'lib/echowrap/asset.rb', line 7 def echonest_ids @echonest_ids ||= map_collection(Echowrap::EchonestId, :echonest_ids) end |