soapy_cake 1.6.6 → 1.6.7

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: 68548aee9f983715e4f23576144df1ac963fcd00
4
- data.tar.gz: f15f3277074db109b1946aea05e8e12b10de18e4
3
+ metadata.gz: b4d2442c2feeeaf0903173d87ff364c284204ef2
4
+ data.tar.gz: c719af757412d34187a62ec04814cc93c706ab52
5
5
  SHA512:
6
- metadata.gz: a7bdfbcbfc4fa1d7fae32ea0aea98b8f3e7ce9135da31b3e376dc7eed184980e2be0bf6b1258ac16fae755def7bb6639cd6379fdaa2545df83b38b18c8304c9f
7
- data.tar.gz: 2df8118abecf688829013bc948f6cca1621307124e3121586d1427a45061fa76101912f8c4bfba642b0a213aa69b47cdf490e038299d8cc7c9232ae3c9f33a69
6
+ metadata.gz: 62ff5d98d6652162029824931c244545dc64a4296624fc3e546f41776b7dec6a5bcc13b7b6782688e65630ebad97c1e305df185c0fb0a0edb887789835811bcf
7
+ data.tar.gz: cbe7c031e00007739d132435cda41754ad9659167e29e21e6852b94a13c3baf765bb8585999408a077d7002d26441cc6293706af31c4116a43e4d129bc46acaf
@@ -129,7 +129,7 @@ module SoapyCake
129
129
  end
130
130
 
131
131
  def edit_affiliate(opts)
132
- require_params(opts, %i(affiliate_id))
132
+ require_params(opts, %i(affiliate_id vat_tax_required))
133
133
 
134
134
  run Request.new(:admin, :addedit, :affiliate, opts)
135
135
  end
@@ -1,3 +1,3 @@
1
1
  module SoapyCake
2
- VERSION = '1.6.6'
2
+ VERSION = '1.6.7'
3
3
  end
@@ -13,6 +13,7 @@ http_interactions:
13
13
  <cake:Affiliate>
14
14
  <cake:api_key>cake-api-key</cake:api_key>
15
15
  <cake:affiliate_id>1</cake:affiliate_id>
16
+ <cake:vat_tax_required>false</cake:vat_tax_required>
16
17
  </cake:Affiliate>
17
18
  </env:Body>
18
19
  </env:Envelope>
@@ -13,7 +13,8 @@ RSpec.describe 'ADDEDIT integration test' do
13
13
  describe 'affiliates', :vcr do
14
14
  it 'edits affiliates' do
15
15
  result = subject.edit_affiliate(
16
- affiliate_id: 1
16
+ affiliate_id: 1,
17
+ vat_tax_required: false
17
18
  )
18
19
 
19
20
  expect(result).to include(affiliate_id: 1)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soapy_cake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.6
4
+ version: 1.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ad2games GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-20 00:00:00.000000000 Z
11
+ date: 2015-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  version: '0'
231
231
  requirements: []
232
232
  rubyforge_project:
233
- rubygems_version: 2.4.5
233
+ rubygems_version: 2.4.6
234
234
  signing_key:
235
235
  specification_version: 4
236
236
  summary: Simple client for the CAKE API