client_management/app/models/client_manager_setting.rb

6 lines
205 B
Ruby

class ClientManagerSetting
include Mongoid::Document
include Mongoid::Timestamps
field :enable_api, type: Boolean, default: false
field :api_key, type: String, default: "client-manager-api-key"
end