Sha256: 43fdeb0d5c630f72b4a62899adae400c2d8d3aa3173ee5337324d04201b430ee

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

module Workarea
  module FlowIo
    class ExperienceGeo
      include ApplicationDocument

      field :key, type: String
      field :name, type: String
      field :region, type: Hash
      field :country, type: Country
      field :currency, type: String
      field :language, type: String
      field :measurement_system, type: String

      embedded_in :experienceable, polymorphic: true
      validates_presence_of :key, :name
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-flow_io-1.2.1 app/models/workarea/flow_io/experience_geo.rb