Class: Biography
- Inherits:
-
Object
- Object
- Biography
- Defined in:
- lib/echonest-ruby-api/biography.rb
Instance Attribute Summary collapse
-
#site ⇒ Object
Returns the value of attribute site.
-
#text ⇒ Object
Returns the value of attribute text.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Biography
constructor
A new instance of Biography.
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( = {}) @text = [:text] @site = [:site] @url = [:url] end |
Instance Attribute Details
#site ⇒ Object
Returns the value of attribute site.
3 4 5 |
# File 'lib/echonest-ruby-api/biography.rb', line 3 def site @site end |
#text ⇒ Object
Returns the value of attribute text.
3 4 5 |
# File 'lib/echonest-ruby-api/biography.rb', line 3 def text @text end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/echonest-ruby-api/biography.rb', line 3 def url @url end |