fanforce 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.rbenv-gemsets +1 -1
- data/Gemfile.lock +3 -3
- data/lib/fanforce/main.rb +1 -31
- data/lib/fanforce/version.rb +1 -1
- metadata +1 -1
data/.rbenv-gemsets
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
fanforce-ruby
|
data/Gemfile.lock
CHANGED
data/lib/fanforce/main.rb
CHANGED
@@ -3,6 +3,7 @@ require 'fanforce/utils'
|
|
3
3
|
require 'rest-client'
|
4
4
|
|
5
5
|
class Fanforce
|
6
|
+
include Fanforce::Utils
|
6
7
|
|
7
8
|
########################################################################
|
8
9
|
def initialize(auth_key_or_hash=nil)
|
@@ -84,36 +85,5 @@ class Fanforce
|
|
84
85
|
'http://' + $API_DOMAIN + path
|
85
86
|
end
|
86
87
|
|
87
|
-
def is_valid_install_request(params)
|
88
|
-
Utils.is_valid_install_request(params)
|
89
|
-
end
|
90
|
-
|
91
|
-
def is_invalid_install_request(params)
|
92
|
-
!is_valid_install_request(params)
|
93
|
-
end
|
94
|
-
|
95
|
-
def is_valid_uninstall_request(params)
|
96
|
-
Utils.is_valid_uninstall_request(params)
|
97
|
-
end
|
98
|
-
|
99
|
-
def is_invalid_uninstall_request(params)
|
100
|
-
!is_valid_uninstall_request(params)
|
101
|
-
end
|
102
|
-
|
103
|
-
def is_valid_request(params)
|
104
|
-
Utils.is_valid_request(params)
|
105
|
-
end
|
106
|
-
|
107
|
-
def is_invalid_request(params)
|
108
|
-
!is_valid_request(params)
|
109
|
-
end
|
110
|
-
|
111
|
-
def parse_params(params)
|
112
|
-
Utils.parse_params(params)
|
113
|
-
end
|
114
|
-
|
115
|
-
def parse_url(raw_url)
|
116
|
-
Utils.parse_url(raw_url)
|
117
|
-
end
|
118
88
|
|
119
89
|
end
|
data/lib/fanforce/version.rb
CHANGED