Sha256: 88d38ee85e705194e1f072f79ffd5e1a4115c9036dda389d3faeb93090dc4139
Contents?: true
Size: 496 Bytes
Versions: 5
Compression:
Stored size: 496 Bytes
Contents
module Workarea class Payment class KlarnaSession include ApplicationDocument # The _id field will be the order ID field :_id, type: String, default: -> { BSON::ObjectId.new.to_s } field :session_id, type: String field :client_token, type: String field :payment_method_categories, type: Array, default: [] index( { created_at: 1 }, { expire_after_seconds: Workarea.config.klarn_session_expiration.to_i } ) end end end
Version data entries
5 entries across 5 versions & 1 rubygems