lib/lumberg/cpanel/support.rb in lumberg-2.0.0.pre4 vs lib/lumberg/cpanel/support.rb in lumberg-2.0.0.pre5
- old
+ new
@@ -11,19 +11,19 @@
# :subject - String subject line.
#
# Returns Hash API response.
def open_ticket(options = {})
perform_request({
- :api_function => "sendcontact"
+ 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" })
+ perform_request({ api_function: "isenabled" })
end
end
end
end