Module: Blingee

Defined in:
lib/blingee.rb,
lib/blingee/api.rb,
lib/blingee/entry.rb,
lib/blingee/image.rb,
lib/blingee/instance.rb,
lib/blingee/collection.rb,
lib/blingee/exceptions.rb

Defined Under Namespace

Classes: API, AuthenticationFailure, Collection, ConnectionError, Entry, Error, ErrorWithResponse, Image, Instance

Class Method Summary collapse

Class Method Details

.new(options = {}) ⇒ Object

Create a new Blingee::Instance. You must either pass in a user_id and secret or define a Blingee.user_id and Blingee.secret.



21
22
23
# File 'lib/blingee.rb', line 21

def self.new(options = {})
  Blingee::Instance.new({:user_id => @@user_id, :secret => @@secret}.merge(options))
end