Class: AuthenticationRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/refworks/authentication/authentication_request.rb

Class Method Summary collapse

Methods inherited from Request

generate_signature, http_request_verb

Class Method Details

.call_classObject



3
4
5
# File 'lib/refworks/authentication/authentication_request.rb', line 3

def self.call_class
  'authentication'
end

.generate_class_params(params) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/refworks/authentication/authentication_request.rb', line 7

def self.generate_class_params(params)
  # handle params common to all Retrieve calls
  class_name = call_class()

  # query parameters common to all Retrieve calls
  {
      :class => class_name,
  }
end