Module: Whereby

Defined in:
lib/whereby.rb,
lib/whereby/api.rb,
lib/whereby/element.rb,
lib/whereby/meeting.rb,
lib/whereby/version.rb,
lib/whereby/configuration.rb

Defined Under Namespace

Classes: Api, Configuration, Element, Meeting, WherebyError

Constant Summary collapse

VERSION =
"1.0.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



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

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

.api_keyObject



12
13
14
# File 'lib/whereby.rb', line 12

def self.api_key
  configuration.api_key
end

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

Yields:



20
21
22
# File 'lib/whereby.rb', line 20

def self.configure
  yield(configuration)
end