Class: Tmdb::TmdbBase
- Inherits:
-
Object
- Object
- Tmdb::TmdbBase
- Defined in:
- lib/tmdb/tmdb_base.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#info ⇒ Object
Returns the value of attribute info.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/tmdb/tmdb_base.rb', line 3 def id @id end |
#info ⇒ Object
Returns the value of attribute info.
3 4 5 |
# File 'lib/tmdb/tmdb_base.rb', line 3 def info @info end |
Instance Method Details
#api ⇒ Object
5 6 7 |
# File 'lib/tmdb/tmdb_base.rb', line 5 def api Tmdb.connection end |
#changes(options = {}) ⇒ Object
13 14 15 |
# File 'lib/tmdb/tmdb_base.rb', line 13 def changes(={}) api.send("#{self.class.name.split('::').last.underscore}_changes", self.id, ) end |
#status_message ⇒ Object
9 10 11 |
# File 'lib/tmdb/tmdb_base.rb', line 9 def @info. end |