Class: 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.



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

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

Instance Attribute Details

#siteObject

Returns the value of attribute site.



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

def site
  @site
end

#textObject

Returns the value of attribute text.



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

def text
  @text
end

#urlObject

Returns the value of attribute url.



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

def url
  @url
end