Class: Mashape::QueryAuthentication
- Inherits:
-
Authentication
- Object
- Authentication
- Mashape::QueryAuthentication
- Defined in:
- lib/authentication/query_authentication.rb
Instance Method Summary collapse
-
#initialize(query_key, query_value) ⇒ QueryAuthentication
constructor
A new instance of QueryAuthentication.
Methods inherited from Authentication
Constructor Details
#initialize(query_key, query_value) ⇒ QueryAuthentication
Returns a new instance of QueryAuthentication.
5 6 7 8 |
# File 'lib/authentication/query_authentication.rb', line 5 def initialize(query_key, query_value) super() @params[query_key] = query_value end |