Class: OAuth::Signature::PLAINTEXT

Inherits:
Base
  • Object
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

implements, #initialize, #verify

Methods included from Helper

_escape, 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

#==(other) ⇒ Object



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

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

#body_hashObject



22
23
24
# File 'lib/oauth/signature/plaintext.rb', line 22

def body_hash
  nil
end

#signatureObject



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

def signature
  signature_base_string
end

#signature_base_stringObject



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

def signature_base_string
  secret
end