Class: Sisow::Api::DirectoryRequest
- Inherits:
-
Request
- Object
- Request
- Sisow::Api::DirectoryRequest
show all
- Defined in:
- lib/sisow/api/request/directory_request.rb
Constant Summary
Constants inherited
from Request
Request::BASE_URI
Instance Attribute Summary
Attributes inherited from Request
#merchant_id, #merchant_key
Instance Method Summary
collapse
Methods inherited from Request
#default_params, #perform, perform
Instance Method Details
#clean(response) ⇒ Object
13
14
15
16
17
|
# File 'lib/sisow/api/request/directory_request.rb', line 13
def clean(response)
if response.directoryresponse? && response.directoryresponse.directory?
response.directoryresponse.directory
end
end
|
#method ⇒ Object
5
6
7
|
# File 'lib/sisow/api/request/directory_request.rb', line 5
def method
'DirectoryRequest'
end
|
#params ⇒ Object
9
10
11
|
# File 'lib/sisow/api/request/directory_request.rb', line 9
def params
default_params
end
|
#validate! ⇒ Object
19
20
21
|
# File 'lib/sisow/api/request/directory_request.rb', line 19
def validate!
true
end
|