soapy_cake 1.1.1 → 1.1.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: 0728cabc19259dfb626aeb8dd24ab295a119ff5a
4
- data.tar.gz: 54887456bbd16addb8c74c1d9cca0b51931a4c3e
3
+ metadata.gz: c76b1ecec4c933f433efa7b7bf6d3c0f71568473
4
+ data.tar.gz: 81865000bb714392d434a516aa66a93b7fb21cf8
5
5
  SHA512:
6
- metadata.gz: 42490e20e3ab8a1760544a2bf69bce55174b08810baa99f80b9c2ec0e634b957f8c2f7f08de9e7fb5df10c5838c06cc3acaadd21278666dbd0860c02f7ffa0c8
7
- data.tar.gz: 9f9702b8977794ec8876992030fee2cdc2ab10254b6001519c0d9e3f3c3b66ebfa21f1f734ce3d1019a29d1e0e34c72610254ef5a8ff16136a44b1b1b0ad676c
6
+ metadata.gz: 43a505454fcc7d43841e54030db42995de18694735b8ff6995147dad4a78eccc026d1a202afc4c6d4c0986d0fd679c6548b97f20537e8a92d63d020fb74e6a4c
7
+ data.tar.gz: 442070b48ca9fbafaa55c1aee045423f5f3651b4e056347cbbdf00588e56e25fd59d1c6291751b11a5f2460da837b3fb0f071a25215f141f1f061f219cb578a0
@@ -87,5 +87,9 @@ module SoapyCake
87
87
  def update_offer(opts = {})
88
88
  run Request.new(:admin, :addedit, :offer, opts)
89
89
  end
90
+
91
+ def affiliate_signup(opts = {})
92
+ run Request.new(:admin, :signup, :affiliate, opts)
93
+ end
90
94
  end
91
95
  end
@@ -1,3 +1,3 @@
1
1
  module SoapyCake
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
@@ -153,4 +153,14 @@ RSpec.describe SoapyCake::Admin do
153
153
  it_behaves_like 'a cake admin method'
154
154
  end
155
155
  end
156
+
157
+ describe 'signup service' do
158
+ let(:service) { :signup }
159
+
160
+ describe '#affiliate_signup' do
161
+ let(:method) { :affiliate_signup }
162
+ let(:cake_method) { :affiliate }
163
+ it_behaves_like 'a cake admin method'
164
+ end
165
+ end
156
166
  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.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ad2games GmbH