Sha256: 36e77c45edc93c33c8f499604f0a7b867f508618b181893fb4fc5a4d8f41adb2
Contents?: true
Size: 649 Bytes
Versions: 39
Compression:
Stored size: 649 Bytes
Contents
## ## Only object_key, object_path, no validations. ## class Office::EmailMessageStub include Mongoid::Document include Mongoid::Timestamps STATE_PENDING = 'state_pending' STATE_PROCESSED = 'state_processed' STATES = [ STATE_PENDING, STATE_PROCESSED ] field :state, type: :string, default: STATE_PENDING field :object_key, type: :string ## aka 'filename', use with bucket name + prefix validates_presence_of :object_key field :object_path, type: :string ## A routable s3 url ## @TODO: remove this field. _vp_ 2023-03-07 field :wp_term_ids, type: :array, default: [] end MsgStub = EMS = Office::EmailMessageStub
Version data entries
39 entries across 39 versions & 1 rubygems