Class: Mashape::Authentication
- Inherits:
-
Object
- Object
- Mashape::Authentication
- Defined in:
- lib/authentication/authentication.rb
Direct Known Subclasses
HeaderAuthentication, OAuthAuthentication, QueryAuthentication
Instance Method Summary collapse
- #handleHeader ⇒ Object
- #handleParams ⇒ Object
-
#initialize ⇒ Authentication
constructor
A new instance of Authentication.
Constructor Details
#initialize ⇒ Authentication
Returns a new instance of Authentication.
4 5 6 7 |
# File 'lib/authentication/authentication.rb', line 4 def initialize() @header = Hash.new @params = Hash.new end |
Instance Method Details
#handleHeader ⇒ Object
9 10 11 |
# File 'lib/authentication/authentication.rb', line 9 def handleHeader() return @header end |
#handleParams ⇒ Object
13 14 15 |
# File 'lib/authentication/authentication.rb', line 13 def handleParams() return @params end |