Sha256: 9b11813aa5b67eb554f0929145a437372143c5b2f4df534685a00fd0b538624e

Contents?: true

Size: 202 Bytes

Versions: 6

Compression:

Stored size: 202 Bytes

Contents

module Signature
  class Token
    attr_reader :key, :secret

    def initialize(key, secret)
      @key, @secret = key, secret
    end

    def sign(request)
      request.sign(self)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
signature-acd-0.1.14 lib/signature/token.rb
signature-acd-0.1.13 lib/signature/token.rb
signature-acd-0.1.12 lib/signature/token.rb
signature-acd-0.1.11 lib/signature/token.rb
signature-acd-0.1.10 lib/signature/token.rb
signature-acd-0.1.9 lib/signature/token.rb