Method: ApiSignature.setup

Defined in:
lib/api_signature.rb

.setup {|_self| ... } ⇒ Object

Examples:

ApiSignature.setup do |config|
  config.signature_ttl = 2.minutes
end

Yields:

  • (_self)

Yield Parameters:

  • _self (ApiSignature)

    the object that the method was called on



24
25
26
# File 'lib/api_signature.rb', line 24

def self.setup
  yield self
end