Module: Relinkly

Defined in:
lib/relinkly.rb,
lib/relinkly/api.rb,
lib/relinkly/tag.rb,
lib/relinkly/link.rb,
lib/relinkly/domain.rb,
lib/relinkly/creator.rb,
lib/relinkly/element.rb,
lib/relinkly/version.rb,
lib/relinkly/workspace.rb,
lib/relinkly/integration.rb,
lib/relinkly/configuration.rb

Defined Under Namespace

Classes: API, Configuration, Creator, Domain, Element, Integration, Link, RateLimitExceeded, RelinklyError, Tag, Workspace

Constant Summary collapse

VERSION =
'1.0.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

.api_keyObject



19
20
21
# File 'lib/relinkly.rb', line 19

def self.api_key
  configuration.api_key
end

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

Yields:



27
28
29
# File 'lib/relinkly.rb', line 27

def self.configure
  yield(configuration)
end