Class: Appilf::WatchedItem
- Inherits:
-
AppilfObject
- Object
- AppilfObject
- Appilf::WatchedItem
- Defined in:
- lib/appilf/watched_item.rb
Instance Attribute Summary
Attributes inherited from AppilfObject
Instance Method Summary collapse
-
#initialize(watched_item_hash) ⇒ WatchedItem
constructor
A new instance of WatchedItem.
Methods inherited from AppilfObject
#add_relationships, #init_meta_data, #method_missing, #respond_to_missing?
Constructor Details
#initialize(watched_item_hash) ⇒ WatchedItem
Returns a new instance of WatchedItem.
5 6 7 8 |
# File 'lib/appilf/watched_item.rb', line 5 def initialize(watched_item_hash) add_relationships(watched_item_hash['data'].delete('relationships')) super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Appilf::AppilfObject