Class: Echonest::Blog
- Inherits:
-
Object
- Object
- Echonest::Blog
- Defined in:
- lib/echonest-ruby-api/blog.rb
Instance Attribute Summary collapse
-
#date_posted ⇒ Object
Returns the value of attribute date_posted.
-
#name ⇒ Object
Returns the value of attribute name.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Blog
constructor
A new instance of Blog.
Constructor Details
#initialize(options = {}) ⇒ Blog
Returns a new instance of Blog.
5 6 7 8 9 10 |
# File 'lib/echonest-ruby-api/blog.rb', line 5 def initialize( = {}) @name = [:name] @summary = [:summary] @url = [:url] @date_posted = [:date_posted] end |
Instance Attribute Details
#date_posted ⇒ Object
Returns the value of attribute date_posted.
4 5 6 |
# File 'lib/echonest-ruby-api/blog.rb', line 4 def date_posted @date_posted end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/echonest-ruby-api/blog.rb', line 4 def name @name end |
#summary ⇒ Object
Returns the value of attribute summary.
4 5 6 |
# File 'lib/echonest-ruby-api/blog.rb', line 4 def summary @summary end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/echonest-ruby-api/blog.rb', line 4 def url @url end |