lib/fanforce/utils.rb in fanforce-0.3.1 vs lib/fanforce/utils.rb in fanforce-0.3.2

- old
+ new

@@ -10,14 +10,9 @@ def is_present?(obj) !is_blank?(obj) end - def valid_request?(params) - return false if !valid_fanforce_js_request?(params) and !valid_fanforce_request?(params) and !valid_install_request?(params) and !valid_uninstall_request?(params) - return true - end - def valid_fanforce_js_request?(params) return false if !params.is_a?(Hash) return false if is_blank?(params[:fanforce_id]) or is_blank?(params[:api_key]) return true end