soapy_cake 1.11.1 → 1.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soapy_cake/admin_batched.rb +4 -2
- data/lib/soapy_cake/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a56e0456179301c8d2918adf22e422847244190a
|
4
|
+
data.tar.gz: ab11ac5d5451fe8e27b00062b42eb89933905fb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a67072bafae834ea2b9221e2ab437cb8b3c7cd393d834d24f9d3f58818152e9530b32bc9e4f3f23370be298c10c73de422db00e6441a1f77ef0dd9ff3bebeb31
|
7
|
+
data.tar.gz: 2dcc5970e603bfcdfbd3f3c7c4f2afdcc02fc88cdab9fc999ac98da841a9eb78984c2f41417968c7e72176914860da64f2f573858184ed9bd9e6563d8a350258
|
@@ -1,5 +1,9 @@
|
|
1
1
|
module SoapyCake
|
2
2
|
class AdminBatched
|
3
|
+
ALLOWED_METHODS = %i(
|
4
|
+
advertisers affiliates campaigns offers creatives clicks conversions events
|
5
|
+
)
|
6
|
+
|
3
7
|
class BatchedRequest
|
4
8
|
# Both 0 and 1 return the first element. We need to set it to 1,
|
5
9
|
# otherwise we get an overlap in the next call. This is not documented in the API spec.
|
@@ -40,8 +44,6 @@ module SoapyCake
|
|
40
44
|
end
|
41
45
|
end
|
42
46
|
|
43
|
-
ALLOWED_METHODS = %i(advertisers affiliates campaigns offers creatives clicks conversions)
|
44
|
-
|
45
47
|
def method_missing(name, opts = {}, limit = nil)
|
46
48
|
fail Error, "Invalid method #{name}" unless ALLOWED_METHODS.include?(name)
|
47
49
|
|
data/lib/soapy_cake/version.rb
CHANGED