Sha256: 68980893d79ff0696a9d29bd26c16ebd0a89df801d4f0b9acce24c17bf7a6373
Contents?: true
Size: 526 Bytes
Versions: 28
Compression:
Stored size: 526 Bytes
Contents
require 'tengine/support/config' module Tengine::Support::Config::Mongoid class Connection include Tengine::Support::Config::Definition field :host , 'hostname to connect db.', :default => 'localhost', :type => :string field :port , "port to connect db.", :default => 27017, :type => :integer field :username, 'username to connect db.', :type => :string field :password, 'password to connect db.', :type => :string field :database, 'database name to connect db.', :type => :string end end
Version data entries
28 entries across 28 versions & 1 rubygems