Class: Xdelivery::API::Ping

Inherits:
Base
  • Object
show all
Defined in:
lib/xdelivery/api/ping.rb

Constant Summary

Constants inherited from Base

Base::BASE_URL

Instance Attribute Summary

Attributes inherited from Base

#access_key, #merchant_no

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Xdelivery::API::Base

Instance Method Details

#ping!Object



4
5
6
# File 'lib/xdelivery/api/ping.rb', line 4

def ping!
  Response::Ping.new(get('/'))
end