lib/lumberg/cpanel/mime.rb in lumberg-2.0.0.pre4 vs lib/lumberg/cpanel/mime.rb in lumberg-2.0.0.pre5
- old
+ new
@@ -10,11 +10,11 @@
# :user - String parameter allows you to specify whether or not to
# only return user defined mime types (default: '')
#
# Returns Hash API response
def list(options = {})
- perform_request({ :api_function => 'listmime' }.merge(options))
+ perform_request({ api_function: 'listmime' }.merge(options))
end
# Public: List handlers associated with Apache
#
# options - Hash options for API call params (default: {})
@@ -23,10 +23,10 @@
# :user - String parameter allows you to specify whether or not to
# only return user defined handlers (default: '')
#
# Returns Hash API response
def handlers(options = {})
- perform_request({ :api_function => 'listhandlers' }.merge(options))
+ perform_request({ api_function: 'listhandlers' }.merge(options))
end
end
end
end