Class: Lumberg::Whostmgr::Base

Inherits:
Lumberg::Whm::Base show all
Defined in:
lib/lumberg/whostmgr/base.rb

Direct Known Subclasses

Ssl

Instance Attribute Summary

Attributes inherited from Lumberg::Whm::Base

#server

Instance Method Summary collapse

Methods inherited from Lumberg::Whm::Base

#initialize, #setup_server

Constructor Details

This class inherits a constructor from Lumberg::Whm::Base

Instance Method Details

#perform_request(options = {}) ⇒ Object


4
5
6
7
8
9
10
# File 'lib/lumberg/whostmgr/base.rb', line 4

def perform_request(options = {})
  function = options.delete(:function)

  server.force_response_type = :whostmgr

  server.perform_request function, options.merge({ whostmgr: true })
end