Module: Rebrandly

Defined in:
lib/rebrandly/error.rb,
lib/rebrandly_client.rb,
lib/rebrandly/configuration.rb

Defined Under Namespace

Modules: Client Classes: Configuration, Error, MissingApiKey, RateLimitExceeded, UsageLimitExceeded

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



3
4
5
# File 'lib/rebrandly/configuration.rb', line 3

def configuration
  @configuration
end

Class Method Details

.api_keyObject



9
10
11
# File 'lib/rebrandly/configuration.rb', line 9

def api_key
  configuration.api_key
end

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

Yields:



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

def configure
  yield(configuration)
end

.workspaceObject



13
14
15
# File 'lib/rebrandly/configuration.rb', line 13

def workspace
  configuration.workspace
end