Module: Mach
- Defined in:
- lib/mach.rb,
lib/mach/hmac.rb,
lib/mach/delta.rb,
lib/mach/nonce.rb,
lib/mach/request.rb,
lib/mach/version.rb,
lib/mach/signature.rb,
lib/mach/timestamp.rb,
lib/mach/error/error.rb,
lib/mach/configuration.rb,
lib/mach/normalized_string.rb,
lib/mach/authorization_header.rb,
lib/mach/rack/request_validator.rb,
lib/mach/persistence/redis_store.rb,
lib/mach/validation/nonce_validator.rb,
lib/mach/persistence/in_memory_store.rb,
lib/mach/validation/request_validator.rb,
lib/mach/validation/signature_validator.rb,
lib/mach/validation/timestamp_validator.rb,
lib/mach/persistence/delta_and_nonce_store.rb,
lib/mach/faraday/request/hmac_authentication.rb
Defined Under Namespace
Modules: Error, Faraday, HMAC, Persistence, Rack, Validation
Classes: AuthorizationHeader, Configuration, Delta, Nonce, NormalizedString, Request, RequestValidator, Signature, Timestamp
Constant Summary
collapse
- VERSION =
"0.0.3"
Class Method Summary
collapse
Class Method Details
.configuration(&block) ⇒ Object
Also known as:
config
10
11
12
13
14
15
16
17
|
# File 'lib/mach.rb', line 10
def configuration(&block)
@configuration ||= Mach::Configuration.new
if block_given?
block.call(@configuration)
else
@configuration
end
end
|
.respond_to?(method, include_private = false) ⇒ Boolean
20
21
22
|
# File 'lib/mach.rb', line 20
def respond_to?(method, include_private=false)
self.configuration.respond_to?(method, include_private) || super
end
|