Class: Kennel::Syncer::Types::PlannedCreate
- Inherits:
-
PlannedChange
- Object
- PlannedChange
- Kennel::Syncer::Types::PlannedCreate
- Defined in:
- lib/kennel/syncer/types.rb
Constant Summary collapse
- TYPE =
:create
Instance Attribute Summary collapse
-
#expected ⇒ Object
readonly
Returns the value of attribute expected.
Attributes inherited from PlannedChange
Instance Method Summary collapse
-
#initialize(expected) ⇒ PlannedCreate
constructor
A new instance of PlannedCreate.
Methods inherited from PlannedChange
Constructor Details
#initialize(expected) ⇒ PlannedCreate
Returns a new instance of PlannedCreate.
30 31 32 33 |
# File 'lib/kennel/syncer/types.rb', line 30 def initialize(expected) super(expected.class, expected.tracking_id) @expected = expected end |
Instance Attribute Details
#expected ⇒ Object (readonly)
Returns the value of attribute expected.
35 36 37 |
# File 'lib/kennel/syncer/types.rb', line 35 def expected @expected end |