Class: OAuth::Signature::PLAINTEXT

Inherits:
Base show all
Defined in:
lib/oauth/signature/plaintext.rb

Instance Attribute Summary

Attributes inherited from Base

#consumer_secret, #options, #request, #token_secret

Instance Method Summary collapse

Methods inherited from Base

#body_hash, digest_class, digest_klass, hash_class, implements, #initialize, #verify

Methods included from Helper

#escape, #generate_key, #generate_timestamp, #normalize, #normalize_nested_query, #parse_header, #stringify_keys, #unescape

Constructor Details

This class inherits a constructor from OAuth::Signature::Base

Instance Method Details

#==(cmp_signature) ⇒ Object



11
12
13
# File 'lib/oauth/signature/plaintext.rb', line 11

def ==(cmp_signature)
  signature.to_s == cmp_signature.to_s
end

#secretObject



19
20
21
# File 'lib/oauth/signature/plaintext.rb', line 19

def secret
  super
end

#signatureObject



7
8
9
# File 'lib/oauth/signature/plaintext.rb', line 7

def signature
  signature_base_string
end

#signature_base_stringObject



15
16
17
# File 'lib/oauth/signature/plaintext.rb', line 15

def signature_base_string
  secret
end