cantook 0.1.2 → 0.1.3

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: 6544c4805aacbbded789eb253b8701ec3d9084b3
4
- data.tar.gz: 28bf81e8c0eeec3135a445251e0cb500d5b173e3
3
+ metadata.gz: 67e0b8757d2802748e67640fe3d3653b8c1025a7
4
+ data.tar.gz: 14c9d40ceb7a2d80e071071dab87656cab50e1d0
5
5
  SHA512:
6
- metadata.gz: 451804a309fc495af4753f552bdb8b3b3fcf14f02dd298f6bf4e2b08ec632e6934e2025136564bb6f0da303a4debbf2838e75ead5d58d58927f50c16113bab21
7
- data.tar.gz: bfcee40336381203a700923b56501eaaecbb07eb1deca23c530810b38ba89b4b4d95e05a12d1657ae123046e51aea15957be337068cfdd7ea41ae4b7e973fdf6
6
+ metadata.gz: 754ca744164d70cfe5e123c72e9594fdd3dee0a39511a39e71cd9e8c75012ccb7a770d3192264a6b67312014b45a12a4f58cff982b1cce187451dafb52563b01
7
+ data.tar.gz: 546a589d7ab8154476b4e9bca2c1bb2d96feb7b86ee934140f62e8e1f934d6b5bdaf2ca1fcbcb5b76073ba23dd2700b43360dfee900affdfec833ae44299ed56
@@ -18,7 +18,7 @@ module Cantook
18
18
  # transaction_id Yes The transaction / purchase basket's unique ID number. Multiple sales can be added to a basket, as long as they have the same unique ID number and are related to a single user. Alphanumerical characters only ("-" and "_" also accepted).
19
19
  # credit_card_prefix No 4 first numbers of the credit card number used for payment. It allows the publisher to check if the territory constraints (determined by these 4 first numbers) are respected.
20
20
  # sale_state No The sale state. By default, a sale is always in "active" state, but it is possible to specify that the sale must be in "test" state using this parameter. Possible values: active / test
21
- # country Yes The country which will be considered to validate the price of the publication.
21
+ # country No The country which will be considered to validate the price of the publication.
22
22
  # aggregator No When a parent store makes a sale for one of it's child store, this field represents the ID of the parent store.
23
23
  # uname No First and last name of the user. The value of this parameter will appear in the text of the digital watermark that will be placed on the file. When this parameter is provided on Sale API call, the watermarking delay will be shortened on the download request (the download will begin as soon as the user clicks on the download button instead of waiting for the platform to generate the watermarked copy).
24
24
 
@@ -77,6 +77,7 @@ module Cantook
77
77
  self.cost = params[:cost]
78
78
  self.protection = params[:protection]
79
79
  self.customer_id = params[:customer_id]
80
+ self.country = params[:country]
80
81
  self.transaction_id = params[:transaction_id]
81
82
  do_request
82
83
  response.code == 201
@@ -1,3 +1,3 @@
1
1
  module Cantook
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cantook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gordon B. Isnor