Class: GooglePlus::EntityHash
- Inherits:
-
Object
- Object
- GooglePlus::EntityHash
- Includes:
- Entity
- Defined in:
- lib/google_plus/entity.rb
Overview
A convenience class for wrapping nestings of Entity objects so that they can be traversed as deeply as desired
Instance Attribute Summary
Attributes included from Entity
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ EntityHash
constructor
Initialize a new EntityHash with the given data.
Methods included from Entity
included, #method_missing, #respond_to?
Constructor Details
#initialize(hash = {}) ⇒ EntityHash
Initialize a new EntityHash with the given data
61 62 63 |
# File 'lib/google_plus/entity.rb', line 61 def initialize(hash = {}) load_hash(hash) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GooglePlus::Entity