wegift-ruby-client 1.4.6 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ed7ad3513b66fd4b959e48d5a8d0c93c9a096c4
4
- data.tar.gz: 54d8eb73d7ef875eebe8c3335ccd3eded7f4bc75
3
+ metadata.gz: 7e26669ac746a053ceaff3ae76c09064e341e4fc
4
+ data.tar.gz: 3bfffee3e75e004ca366c25a4d662b01d9c7129b
5
5
  SHA512:
6
- metadata.gz: b085ebbc02ed2a2eac820d15b41896065cb35e00942af77ce57c1d0c4c8df2ab014ba6ef496b40d00772d0f2a28b5d154ef8e274fe0087102501c8acdf4f56b2
7
- data.tar.gz: b0ae078473bd23703535f455b43501bdc37ac54144e1d5af27b83b2710d78d2cc4ad02c1961f015457967c7a4ba15423401aa90d15bb7682d0d7de117852ca30
6
+ metadata.gz: b11bbfe7b91be3f83507a8ce7dd5b2b9a49d58b4042091f144e620b4df4bb69eedf33865e50390d8cdb754676e16082b13a14dfcfac01b0a80afd999be23cd0e
7
+ data.tar.gz: 03ff16e2c0884a7d2b8cb6bfef2cd6084337ddd6570586928d6f3497614089617e70432e2b55dc3583936ac313905447d897c539aea81617b2cd3f61c5f46fe0
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # WeGift Ruby Client
2
2
 
3
- A simple client for [WeGift.io][wegift] B2B Synchronous API (Document Version 1.4).
3
+ A simple client for [WeGift.io][wegift] B2B Synchronous API (Document Version 1.7).
4
4
 
5
5
  ## Installation
6
6
 
@@ -42,6 +42,8 @@ product = client.products('PROD-ID')
42
42
  # and data
43
43
  product.description
44
44
  product.redeem_instructions_html
45
+ product.e_code_usage_type
46
+ # ... etc
45
47
 
46
48
  # post a simple order
47
49
  order = client.order(
@@ -12,7 +12,8 @@ class Wegift::Product < Wegift::Response
12
12
  :redeem_instructions_html,
13
13
  :terms_and_conditions_html,
14
14
  :terms_and_conditions_url,
15
- :terms_and_conditions_pdf_url
15
+ :terms_and_conditions_pdf_url,
16
+ :e_code_usage_type
16
17
 
17
18
  def initialize(params = {})
18
19
  super
@@ -1,4 +1,4 @@
1
1
  module Wegift
2
2
  # api-version.lib-build
3
- VERSION = '1.4.6'
3
+ VERSION = '1.7.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wegift-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Klaas Endrikat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-13 00:00:00.000000000 Z
11
+ date: 2018-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  version: '0'
201
201
  requirements: []
202
202
  rubyforge_project:
203
- rubygems_version: 2.5.2
203
+ rubygems_version: 2.5.1
204
204
  signing_key:
205
205
  specification_version: 4
206
206
  summary: A simple Ruby client for the WEGIFT API