Module: Namecheap::API

Included in:
DNS, Domain, NS
Defined in:
lib/namecheap/api.rb

Constant Summary collapse

SANDBOX =
'https://api.sandbox.namecheap.com/xml.response'
PRODUCTION =
'https://api.namecheap.com/xml.response'

Instance Method Summary collapse

Instance Method Details

#get(command, options = {}) ⇒ Object



5
6
7
# File 'lib/namecheap/api.rb', line 5

def get(command, options = {})
  request :get, command, options
end

#post(command, options = {}) ⇒ Object



9
10
11
# File 'lib/namecheap/api.rb', line 9

def post(command, options = {})
  request :post, command, options
end