fanforce 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fanforce/utils.rb +0 -5
- data/lib/fanforce/version.rb +1 -1
- metadata +1 -1
data/lib/fanforce/utils.rb
CHANGED
@@ -12,11 +12,6 @@ module Fanforce::Utils
|
|
12
12
|
!is_blank?(obj)
|
13
13
|
end
|
14
14
|
|
15
|
-
def valid_request?(params)
|
16
|
-
return false if !valid_fanforce_js_request?(params) and !valid_fanforce_request?(params) and !valid_install_request?(params) and !valid_uninstall_request?(params)
|
17
|
-
return true
|
18
|
-
end
|
19
|
-
|
20
15
|
def valid_fanforce_js_request?(params)
|
21
16
|
return false if !params.is_a?(Hash)
|
22
17
|
return false if is_blank?(params[:fanforce_id]) or is_blank?(params[:api_key])
|
data/lib/fanforce/version.rb
CHANGED