Sha256: 54d7eeea28384399d59d085c015806395123c681192fc5e35343c18e3e84768d
Contents?: true
Size: 612 Bytes
Versions: 20
Compression:
Stored size: 612 Bytes
Contents
module BaseCRM class SyncMeta < Model # @attribute [r] event_type # @return [String] An event type. Possible values: `created`, `updated`, `deleted`. # attr_reader :event_type # @attribute [r] ack_key # @return [String] An acknowledgement key. # attr_reader :ack_key # @attribute [r] revision # @return [String] Data revision. # attr_reader :revision def acknowledged? !!@acknowledged end def ack @acknowledged = true [:ack, self.ack_key] end def nack @acknowledged = true [:nack, self.ack_key] end end end
Version data entries
20 entries across 20 versions & 1 rubygems