Class: Echonest::Biography

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Biography

Returns a new instance of Biography.



6
7
8
9
10
# File 'lib/echonest-ruby-api/biography.rb', line 6

def initialize(options = {})
  @text = options[:text]
  @site = options[:site]
  @url = options[:url]
end

Instance Attribute Details

#siteObject

Returns the value of attribute site.



4
5
6
# File 'lib/echonest-ruby-api/biography.rb', line 4

def site
  @site
end

#textObject

Returns the value of attribute text.



4
5
6
# File 'lib/echonest-ruby-api/biography.rb', line 4

def text
  @text
end

#urlObject

Returns the value of attribute url.



4
5
6
# File 'lib/echonest-ruby-api/biography.rb', line 4

def url
  @url
end