Sha256: 5b77fd333df8852d59f5cb6b8f401eab5a5473756323adbb2cb69b5256df22d9

Contents?: true

Size: 348 Bytes

Versions: 13

Compression:

Stored size: 348 Bytes

Contents

require 'oauth/signature/base'

module OAuth::Signature
  class PLAINTEXT < Base
    implements 'plaintext'

    def signature
      signature_base_string
    end

    def ==(cmp_signature)
      signature == escape(cmp_signature)
    end

    def signature_base_string
      secret
    end
    
    def secret
      escape super
    end
  end
end

Version data entries

13 entries across 13 versions & 6 rubygems

Version Path
monkeyhelper-oauth-0.3.1 lib/oauth/signature/plaintext.rb
pelle-oauth-0.3.0 lib/oauth/signature/plaintext.rb
pelle-oauth-0.3.1 lib/oauth/signature/plaintext.rb
proletarian-oauth-0.3.2 lib/oauth/signature/plaintext.rb
proletarian-oauth-0.3.3 lib/oauth/signature/plaintext.rb
proletarian-oauth-0.3.4 lib/oauth/signature/plaintext.rb
proletarian-oauth-0.3.5 lib/oauth/signature/plaintext.rb
proletarian-oauth-0.3.6 lib/oauth/signature/plaintext.rb
proletarian-oauth-0.3.7 lib/oauth/signature/plaintext.rb
rares-oauth-0.2.7 lib/oauth/signature/plaintext.rb
stmpjmpr-oauth-0.2.7 lib/oauth/signature/plaintext.rb
oauth-0.3.1 lib/oauth/signature/plaintext.rb
oauth-0.3.0 lib/oauth/signature/plaintext.rb