Module: MongoHQClient

Defined in:
lib/mongohq-client.rb,
lib/mongohq-client/http.rb,
lib/mongohq-client/plan.rb,
lib/mongohq-client/index.rb,
lib/mongohq-client/client.rb,
lib/mongohq-client/commons.rb,
lib/mongohq-client/invoice.rb,
lib/mongohq-client/database.rb,
lib/mongohq-client/document.rb,
lib/mongohq-client/collection.rb,
lib/mongohq-client/database_details.rb

Defined Under Namespace

Modules: Commons, HTTP Classes: Client, Collection, Database, DatabaseDetails, Document, Index, Invoice, Plan

Class Method Summary collapse

Class Method Details

.from_apikey(apikey) ⇒ Object



17
18
19
# File 'lib/mongohq-client.rb', line 17

def self.from_apikey(apikey)
  Client.new apikey
end