Sha256: a3f08c11135472e174318c4ecd25843db55d3d368bd93b18ea274bd0703b2769

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

module ApiSignature
  class Configuration
    attr_accessor :signature_ttl, :signature_header, :datetime_format, :service

    def initialize
      @signature_ttl = 5 * 60
      @datetime_format = '%Y-%m-%dT%H:%M:%S.%L%z'
      @signature_header = 'authorization'
      @service = 'web'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
api_signature-1.0.0 lib/api_signature/configuration.rb