Class: Sisow::Api::PingRequest
- Inherits:
-
Request
- Object
- Request
- Sisow::Api::PingRequest
show all
- Defined in:
- lib/sisow/api/request/ping_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/ping_request.rb', line 13
def clean(response)
if response.pingresponse? && response.pingresponse.timestamp?
response.pingresponse.timestamp
end
end
|
#method ⇒ Object
5
6
7
|
# File 'lib/sisow/api/request/ping_request.rb', line 5
def method
'PingRequest'
end
|
#params ⇒ Object
9
10
11
|
# File 'lib/sisow/api/request/ping_request.rb', line 9
def params
{}
end
|
#validate! ⇒ Object
19
20
21
|
# File 'lib/sisow/api/request/ping_request.rb', line 19
def validate!
true
end
|