Module: AlephAlpha

Defined in:
lib/aleph-alpha.rb,
lib/aleph-alpha/http.rb,
lib/aleph-alpha/users.rb,
lib/aleph-alpha/client.rb,
lib/aleph-alpha/models.rb,
lib/aleph-alpha/tokens.rb,
lib/aleph-alpha/version.rb

Defined Under Namespace

Modules: HTTP Classes: Client, Configuration, ConfigurationError, Error, Models, Tokens, Users

Constant Summary collapse

VERSION =
"0.2.0".freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



39
40
41
# File 'lib/aleph-alpha.rb', line 39

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

Class Method Details

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

Yields:



43
44
45
# File 'lib/aleph-alpha.rb', line 43

def self.configure
  yield(configuration)
end