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 +4 -4
- data/README.md +3 -1
- data/lib/wegift/models/product.rb +2 -1
- data/lib/wegift/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e26669ac746a053ceaff3ae76c09064e341e4fc
|
4
|
+
data.tar.gz: 3bfffee3e75e004ca366c25a4d662b01d9c7129b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
data/lib/wegift/version.rb
CHANGED
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
|
+
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:
|
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.
|
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
|