Method: E3DB::Meta#last_modified

Defined in:
lib/e3db/client.rb

#last_modifiedTime?

Returns when this record was last modified, or nil if unavailable.

Returns:

  • (Time, nil)

    when this record was last modified, or nil if unavailable



121
122
123
124
125
126
127
128
129
130
# File 'lib/e3db/client.rb', line 121

class Meta < Dry::Struct
  attribute :record_id, Types::Strict::String.optional
  attribute :writer_id, Types::Strict::String
  attribute :user_id, Types::Strict::String
  attribute :type, Types::Strict::String
  attribute :plain, Types::Strict::Hash.default { Hash.new }
  attribute :created, Types::Json::DateTime.optional
  attribute :last_modified, Types::Json::DateTime.optional
  attribute :version, Types::Strict::String.optional
end