Class: Icalia::ModelProxy

Inherits:
Object
  • Object
show all
Includes:
ResourceIdentity
Defined in:
lib/icalia-sdk-event-core/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

Methods included from ResourceIdentity

#to_key

Constructor Details

#initialize(id:, type:) ⇒ ModelProxy

Returns a new instance of ModelProxy.



10
11
12
13
# File 'lib/icalia-sdk-event-core/models/model_proxy.rb', line 10

def initialize(id:, type:)
  @id = id
  @type = type
end