Class: Echonest::Video

Inherits:
Object
  • Object
show all
Defined in:
lib/echonest-ruby-api/video.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options = {})
  @title = options[:title]
  @site = options[:site]
  @url = options[:url]
  @date_found = options[:date_found]
  @image_url = options[:image_url]
end

Instance Attribute Details

#date_foundObject

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_urlObject

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

#siteObject

Returns the value of attribute site.



3
4
5
# File 'lib/echonest-ruby-api/video.rb', line 3

def site
  @site
end

#titleObject

Returns the value of attribute title.



3
4
5
# File 'lib/echonest-ruby-api/video.rb', line 3

def title
  @title
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/echonest-ruby-api/video.rb', line 3

def url
  @url
end