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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed9db59499f69b6cd0a980b55982bc4b76e232ed
4
- data.tar.gz: e7478c8e5784094990a86f11626632c7f0fe4244
3
+ metadata.gz: a56e0456179301c8d2918adf22e422847244190a
4
+ data.tar.gz: ab11ac5d5451fe8e27b00062b42eb89933905fb5
5
5
  SHA512:
6
- metadata.gz: 43567a1c4a870a24c650c6d23b3c276ba4e63017adc058151fc64b14b4baef063eacfc1e152e265b3558d8047005b5d5b152445d02b172a8bfac5037ee83e199
7
- data.tar.gz: d7de64c699a0efdf9e5232402cfd2175195f0b9fed4fcdaba5db711661e98c0b476e44da320cdb44c975ce7238dbbeab6098806ed4229e0dec83a03811edf04f
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
 
@@ -1,3 +1,3 @@
1
1
  module SoapyCake
2
- VERSION = '1.11.1'
2
+ VERSION = '1.11.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soapy_cake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.1
4
+ version: 1.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ad2games GmbH