Module: Brandspotter

Defined in:
lib/brandspotter.rb,
lib/brandspotter/client.rb,
lib/brandspotter/version.rb,
lib/brandspotter/client/jobs.rb,
lib/brandspotter/client/endpoints.rb

Defined Under Namespace

Classes: Client, Configuration

Constant Summary collapse

VERSION =
"1.0.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



11
12
13
# File 'lib/brandspotter.rb', line 11

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



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

def self.configure
  self.configuration ||= Configuration.new
	yield(configuration)
end