Class: Kennel::Syncer::Types::PlannedCreate

Inherits:
PlannedChange show all
Defined in:
lib/kennel/syncer.rb

Constant Summary collapse

TYPE =
:create

Instance Attribute Summary collapse

Attributes inherited from PlannedChange

#klass, #tracking_id

Instance Method Summary collapse

Methods inherited from PlannedChange

#api_resource, #change, #url

Constructor Details

#initialize(expected) ⇒ PlannedCreate

Returns a new instance of PlannedCreate.



340
341
342
343
# File 'lib/kennel/syncer.rb', line 340

def initialize(expected)
  super(expected.class, expected.tracking_id)
  @expected = expected
end

Instance Attribute Details

#expectedObject (readonly)

Returns the value of attribute expected.



345
346
347
# File 'lib/kennel/syncer.rb', line 345

def expected
  @expected
end