Class: Echonest::Biography
- Inherits:
-
Object
- Object
- Echonest::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.
6 7 8 9 10 |
# File 'lib/echonest-ruby-api/biography.rb', line 6 def initialize( = {}) @text = [:text] @site = [:site] @url = [:url] end |
Instance Attribute Details
#site ⇒ Object
Returns the value of attribute site.
4 5 6 |
# File 'lib/echonest-ruby-api/biography.rb', line 4 def site @site end |
#text ⇒ Object
Returns the value of attribute text.
4 5 6 |
# File 'lib/echonest-ruby-api/biography.rb', line 4 def text @text end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/echonest-ruby-api/biography.rb', line 4 def url @url end |