Class: Mashape::QueryAuthentication

Inherits:
Authentication show all
Defined in:
lib/authentication/query_authentication.rb

Instance Method Summary collapse

Methods inherited from Authentication

#handleHeader, #handleParams

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