Module: Baloo

Extended by:
Convenience
Defined in:
lib/baloo.rb,
lib/baloo/error.rb,
lib/baloo/client.rb,
lib/baloo/parser.rb,
lib/baloo/version.rb,
lib/baloo/convenience.rb,
lib/baloo/batch_request.rb

Defined Under Namespace

Modules: Convenience Classes: BatchRequest, Client, Error, HTTPError, NetworkError, Parser

Constant Summary collapse

VERSION =
"0.1.1"

Class Attribute Summary collapse

Class Method Summary collapse

Methods included from Convenience

client_credentials

Class Attribute Details

.app_idObject

Returns the value of attribute app_id.



15
16
17
# File 'lib/baloo.rb', line 15

def app_id
  @app_id
end

.app_namespaceObject

Returns the value of attribute app_namespace.



17
18
19
# File 'lib/baloo.rb', line 17

def app_namespace
  @app_namespace
end

.app_secretObject

Returns the value of attribute app_secret.



16
17
18
# File 'lib/baloo.rb', line 16

def app_secret
  @app_secret
end

Class Method Details

.configure(options = {}) ⇒ Object



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

def configure(options = {})
  options.stringify_keys!
  %w(app_id app_secret app_namespace).each {|opt| send("#{opt}=", options[opt])}
end