Class: DescriptorsRequest
- Inherits:
-
Request
show all
- Defined in:
- lib/refworks/descriptors/descriptors_request.rb
Class Method Summary
collapse
Methods inherited from Request
generate_signature, http_request_verb
Class Method Details
.call_class ⇒ Object
2
3
4
|
# File 'lib/refworks/descriptors/descriptors_request.rb', line 2
def self.call_class
"descriptors"
end
|
.generate_class_params(params) ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/refworks/descriptors/descriptors_request.rb', line 6
def self.generate_class_params(params)
class_name = call_class()
{
:class => class_name,
:pgsize => params[:pgsize] || 50,
:pgnum => params[:pgnum] || 1,
}
end
|