Module: Neoway

Defined in:
lib/neoway_auth.rb,
lib/neoway/auth/result.rb,
lib/neoway/auth/version.rb,
lib/neoway/auth/base_error.rb,
lib/neoway/auth/connection.rb,
lib/neoway/auth/server_error.rb,
lib/neoway/auth/authentication.rb,
lib/neoway/auth/unexpected_error.rb,
lib/neoway/auth/bad_request_error.rb,
lib/neoway/auth/authentication_error.rb,
lib/neoway/auth/authenticated_resource.rb,
lib/neoway/auth/authenticated_connection.rb,
lib/neoway/auth/invalid_credentials_error.rb

Defined Under Namespace

Modules: Auth Classes: Configuration

Constant Summary collapse

BASE_URL =
"https://api.neoway.com.br"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



29
30
31
# File 'lib/neoway_auth.rb', line 29

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

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

Yields:



34
35
36
37
38
# File 'lib/neoway_auth.rb', line 34

def self.configure
  self.configuration ||= Configuration.new

  yield(configuration)
end