Sha256: 67fdd2628a26dcca27732cebacbb0138aae8761ed712f5cc578242d439d67d62
Contents?: true
Size: 842 Bytes
Versions: 2
Compression:
Stored size: 842 Bytes
Contents
module Lumberg module Cpanel class Support < Base def self.api_module; "Contactus"; end # Public: Send a support request. # # options - Hash options for API call params (default: {}): # :email - String destination email address. # :issue - String brief explantation of issue (body text). # :subject - String subject line. # # Returns Hash API response. def open_ticket(options = {}) perform_request({ :api_function => "sendcontact" }.merge(options)) end # Public: Check if you can open a support ticket, or if you are able to # contact your hosting provider through Cpanel # # Returns Hash API response def contactable perform_request({ :api_function => "isenabled" }) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lumberg-2.0.0.pre4 | lib/lumberg/cpanel/support.rb |
lumberg-2.0.0.pre3 | lib/lumberg/cpanel/support.rb |