lib/lumberg/cpanel/branding.rb in lumberg-2.0.0.pre4 vs lib/lumberg/cpanel/branding.rb in lumberg-2.0.0.pre5
- old
+ new
@@ -14,11 +14,11 @@
# String "1" or "0" (optional).
#
# Returns Hash API response.
def list_pkgs(options = {})
perform_request({
- :api_function => "showpkgs"
+ api_function: "showpkgs"
}.merge(options))
end
# Public: Get URL locations for specific sprites.
#
@@ -41,11 +41,11 @@
# values that begin with "group_" (optional).
#
# Returns Hash API response.
def list_sprites(options = {})
perform_request({
- :api_function => "spritelist"
+ api_function: "spritelist"
}.merge(options))
end
# Public: Retrieve a list of icons within the x3 interface.
#
@@ -57,32 +57,32 @@
# xmaingroupsorder NVDATA variable (optional).
#
# Returns Hash API response.
def list_icons(options = {})
perform_request({
- :api_function => "applist"
+ api_function: "applist"
}.merge(options))
end
# Public: Get list of branding object types.
#
# options - Hash options for API call params (default: {}):
#
# Returns Hash API response.
def list_object_types(options = {})
perform_request({
- :api_function => "listobjecttypes"
+ api_function: "listobjecttypes"
}.merge(options))
end
# Public: Get list of branding image types.
#
# options - Hash options for API call params (default: {}):
#
# Returns Hash API response.
def list_image_types(options = {})
perform_request({
- :api_function => "listimgtypes"
+ api_function: "listimgtypes"
}.merge(options))
end
end
end
end