Sha256: 814307fc16e2d38e9638d17c58f91f49781ae86fa4d9660f766affa428fee893

Contents?: true

Size: 268 Bytes

Versions: 7

Compression:

Stored size: 268 Bytes

Contents

require 'mongoid'

module SesProxy
  class Complaint
    include Mongoid::Document
    store_in collection: "complained"

    field :email, type: String
    field :type, type: String
    field :created_at, type: DateTime
    field :updated_at, type: DateTime
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ses-proxy-0.3.2 lib/ses_proxy/models/complaint.rb
ses-proxy-0.3.1 lib/ses_proxy/models/complaint.rb
ses-proxy-0.3.0 lib/ses_proxy/models/complaint.rb
ses-proxy-0.2.1 lib/ses_proxy/models/complaint.rb
ses-proxy-0.2.0 lib/ses_proxy/models/complaint.rb
ses-proxy-0.1.1 lib/ses_proxy/models/complaint.rb
ses-proxy-0.1.0 lib/ses_proxy/models/complaint.rb