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

Version Path
tengine_support-1.2.2 lib/tengine/support/config/mongoid.rb
tengine_support-1.2.1 lib/tengine/support/config/mongoid.rb
tengine_support-1.2.0 lib/tengine/support/config/mongoid.rb
tengine_support-1.1.0 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.27 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.26 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.25 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.24 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.22 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.21 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.20 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.19 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.18 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.17 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.16 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.15 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.14 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.13 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.12 lib/tengine/support/config/mongoid.rb
tengine_support-0.3.11 lib/tengine/support/config/mongoid.rb