lib/lumberg/cpanel/addon_domain.rb in lumberg-2.0.0.pre4 vs lib/lumberg/cpanel/addon_domain.rb in lumberg-2.0.0.pre5
- old
+ new
@@ -11,11 +11,11 @@
# "user_addon.com"
#
# Returns Hash API response.
def remove(options = {})
perform_request({
- :api_function => "deladdondomain"
+ api_function: "deladdondomain"
}.merge(options))
end
# Public: Add an addon domain with a coresponding subdomain.
#
@@ -26,11 +26,11 @@
# addon domain, e.g., "user".
#
# Returns Hash API response.
def add(options = {})
perform_request({
- :api_function => "addaddondomain"
+ api_function: "addaddondomain"
}.merge(options))
end
# Public: Get a list of addon domains.
#
@@ -39,10 +39,10 @@
# (optional).
#
# Returns Hash API response.
def list(options={})
perform_request({
- :api_function => "listaddondomains"
+ api_function: "listaddondomains"
}.merge(options))
end
end
end
end