Class: MongoMS::MMS
Instance Method Summary collapse
-
#initialize(u, p) ⇒ MMS
constructor
A new instance of MMS.
- #root ⇒ Object
- #throttling? ⇒ Boolean
Methods included from Group
#_get_group_by_name, #create_group, #delete_group, #group
Constructor Details
#initialize(u, p) ⇒ MMS
Returns a new instance of MMS.
10 11 12 13 14 |
# File 'lib/mms-ruby.rb', line 10 def initialize(u, p) @auth = {username: u, password: p} @options = { digest_auth: @auth, headers: { 'Content-Type' => 'application/json' } } end |