Class: Echonest::Video
- Inherits:
-
Object
- Object
- Echonest::Video
- Defined in:
- lib/echonest-ruby-api/video.rb
Instance Attribute Summary collapse
-
#date_found ⇒ Object
Returns the value of attribute date_found.
-
#image_url ⇒ Object
Returns the value of attribute image_url.
-
#site ⇒ Object
Returns the value of attribute site.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Video
constructor
A new instance of Video.
Constructor Details
#initialize(options = {}) ⇒ Video
Returns a new instance of Video.
4 5 6 7 8 9 10 |
# File 'lib/echonest-ruby-api/video.rb', line 4 def initialize( = {}) @title = [:title] @site = [:site] @url = [:url] @date_found = [:date_found] @image_url = [:image_url] end |
Instance Attribute Details
#date_found ⇒ Object
Returns the value of attribute date_found.
3 4 5 |
# File 'lib/echonest-ruby-api/video.rb', line 3 def date_found @date_found end |
#image_url ⇒ Object
Returns the value of attribute image_url.
3 4 5 |
# File 'lib/echonest-ruby-api/video.rb', line 3 def image_url @image_url end |
#site ⇒ Object
Returns the value of attribute site.
3 4 5 |
# File 'lib/echonest-ruby-api/video.rb', line 3 def site @site end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/echonest-ruby-api/video.rb', line 3 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/echonest-ruby-api/video.rb', line 3 def url @url end |