Class: SavedsearchRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/refworks/savedsearch/savedsearch_request.rb

Direct Known Subclasses

SavedsearchAllRequest, SavedsearchGetRequest

Class Method Summary collapse

Methods inherited from Request

generate_signature, http_request_verb

Class Method Details

.call_classObject



2
3
4
# File 'lib/refworks/savedsearch/savedsearch_request.rb', line 2

def self.call_class
  "savedsearch"
end

.generate_class_params(params) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/refworks/savedsearch/savedsearch_request.rb', line 6

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

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