Class: Namecheap::Transfers
Constant Summary
Constants inherited from Api
Api::ENDPOINT, Api::ENVIRONMENT, Api::PRODUCTION, Api::SANDBOX
Instance Method Summary collapse
-
#create(domain, options = {}) ⇒ Object
Transfers a domain to Namecheap.
-
#get_list(options = {}) ⇒ Object
Gets the list of domain transfers.
-
#get_status(id, options = {}) ⇒ Object
Gets the status of a particular transfer.
-
#update_status(id, options = {}) ⇒ Object
Updates the status of a particular transfer.
Methods inherited from Api
#delete, #get, #init_args, #post, #put, #request
Instance Method Details
#create(domain, options = {}) ⇒ Object
Transfers a domain to Namecheap.
5 6 7 8 |
# File 'lib/namecheap/transfers.rb', line 5 def create(domain, = {}) = {DomainName: domain}.merge() get "domains.transfer.create", end |
#get_list(options = {}) ⇒ Object
Gets the list of domain transfers.
26 27 28 |
# File 'lib/namecheap/transfers.rb', line 26 def get_list( = {}) get "domains.transfer.getList", end |
#get_status(id, options = {}) ⇒ Object
Gets the status of a particular transfer.
12 13 14 15 |
# File 'lib/namecheap/transfers.rb', line 12 def get_status(id, = {}) = {TransferID: id}.merge() get "domains.transfer.getStatus", end |
#update_status(id, options = {}) ⇒ Object
Updates the status of a particular transfer.
19 20 21 22 |
# File 'lib/namecheap/transfers.rb', line 19 def update_status(id, = {}) = {TransferID: id}.merge() get "domains.transfer.updateStatus", end |