Class: Blog
- Inherits:
-
Object
- Object
- 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.
4 5 6 7 8 9 |
# File 'lib/echonest-ruby-api/blog.rb', line 4 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.
3 4 5 |
# File 'lib/echonest-ruby-api/blog.rb', line 3 def date_posted @date_posted end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/echonest-ruby-api/blog.rb', line 3 def name @name end |
#summary ⇒ Object
Returns the value of attribute summary.
3 4 5 |
# File 'lib/echonest-ruby-api/blog.rb', line 3 def summary @summary end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/echonest-ruby-api/blog.rb', line 3 def url @url end |