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
.configuration ⇒ Object
Returns the value of attribute configuration.
3
4
5
|
# File 'lib/rebrandly/configuration.rb', line 3
def configuration
@configuration
end
|
Class Method Details
.api_key ⇒ Object
9
10
11
|
# File 'lib/rebrandly/configuration.rb', line 9
def api_key
configuration.api_key
end
|
17
18
19
|
# File 'lib/rebrandly/configuration.rb', line 17
def configure
yield(configuration)
end
|
.workspace ⇒ Object
13
14
15
|
# File 'lib/rebrandly/configuration.rb', line 13
def workspace
configuration.workspace
end
|