Class: Icalia::ModelProxy
- Inherits:
-
Object
- Object
- Icalia::ModelProxy
- Includes:
- ResourceIdentity
- Defined in:
- lib/icalia/models/model_proxy.rb
Overview
ModelProxy: Acts as a stand-in for an associated model, which may be awaiting for de-serialization at the time the parent object was being de-serialized
Instance Method Summary collapse
-
#initialize(id:, type:) ⇒ ModelProxy
constructor
A new instance of ModelProxy.
Methods included from ResourceIdentity
Constructor Details
#initialize(id:, type:) ⇒ ModelProxy
Returns a new instance of ModelProxy.
10 11 12 13 |
# File 'lib/icalia/models/model_proxy.rb', line 10 def initialize(id:, type:) @id = id @type = type end |