wegift-ruby-client 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d9ed8ed0dd39f8c1b812686edf99c071547e738c
4
+ data.tar.gz: 5c970c86606039b4e4e255be7bb7f153e3911566
5
+ SHA512:
6
+ metadata.gz: 8fdbdee8879546c26f7b9c5d1ccc57910dd9671e6336d86d890dcf6b028f7e0b460e251cc50e777dc6dff303d4e1490170ed5e0b9c8beb29bd46c88076d8fe81
7
+ data.tar.gz: 86e22394fa22a046466c32783ec539496dccbec1ca5fea0adde914fd592588588fdce10f90bd137ba3dfdc0626205fd466cd5354c871457023edd6306f0c0c72
data/.gitignore ADDED
@@ -0,0 +1,25 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
13
+
14
+ # idea/rubymine
15
+ *.iml
16
+
17
+ # rvm
18
+ .ruby-gemset
19
+ .ruby-version
20
+
21
+ # vars for testing
22
+ .env
23
+
24
+ # gems
25
+ wegift-ruby-client-*.gem
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.0
5
+ before_install: gem install bundler -v 1.14.6
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at klaas.endrikat@googlemail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in wegift-ruby-client.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Klaas Endrikat
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,96 @@
1
+ # WeGift Ruby Client
2
+
3
+ A simple client for [WeGift.io][wegift] B2B Synchronous API (Document Version 1.2).
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'wegift-ruby-client'
11
+ ```
12
+
13
+ And then execute:
14
+ ```bash
15
+ $ bundle
16
+ ```
17
+
18
+ Or install it yourself as:
19
+ ```bash
20
+ $ gem install wegift-ruby-client
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ Simple example for ordering a Digital Card
26
+ ```ruby
27
+ # a simple client
28
+ client = Wegift::Client.new(
29
+ :api_host => 'http://sandbox.wegift.io',
30
+ :api_path => '/api/b2b-sync/v1/auth'
31
+ :api_key => ENV['AUTH_NAME'],
32
+ :api_secret => ENV['AUTH_PASS']
33
+ )
34
+
35
+ # and a simple request
36
+ order = Wegift::Order.new(
37
+ :product_code => 'tTV',
38
+ :delivery => 'direct',
39
+ :amount => '42.00',
40
+ :currency_code => 'USD',
41
+ :external_ref => '123'
42
+ )
43
+
44
+ # executes the POST (TODO: shared/singleton client?)
45
+ order.post(client)
46
+
47
+ # and returns
48
+ if order.is_successful?
49
+
50
+ # some nice data
51
+ order.code
52
+ order.pin
53
+ order.expiry_date
54
+
55
+ end
56
+ ```
57
+
58
+ _See official docs for Product Codes (http://sandbox.wegift.io/product-codes)_
59
+
60
+ ## Development
61
+
62
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
63
+
64
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
65
+
66
+ ### Testing
67
+
68
+ Run it!
69
+ ```bash
70
+ rspec
71
+ ```
72
+
73
+ It will load all tapes found in `spec/tapes`, we are using [VCR][vcr].
74
+
75
+ Optional - If you want/need to remaster all the recordings, you will need a sandbox account.
76
+ Add an `.env` file to your root:
77
+
78
+ ```bash
79
+ # .env
80
+ AUTH_NAME='sandbox_username'
81
+ AUTH_PASS='sandbox_password'
82
+ ```
83
+
84
+ Start the VCR with `rspec` - this should add all Tapes to `spec/tapes`.
85
+
86
+ ## Contributing
87
+
88
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kendrikat/wegift-ruby-client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
89
+
90
+
91
+ ## License
92
+
93
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
94
+
95
+ [wegift]: http://WeGift.io
96
+ [vcr]: https://github.com/vcr/vcr
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "wegift/ruby/client"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/lib/wegift.rb ADDED
@@ -0,0 +1,5 @@
1
+ require_relative 'wegift/models/order'
2
+
3
+ module Wegift
4
+
5
+ end
@@ -0,0 +1,35 @@
1
+ # encoding: utf-8
2
+ require 'faraday'
3
+
4
+ module Wegift
5
+
6
+ class Client
7
+ attr_accessor :api_host, :api_path, :api_key, :api_secret, :connection
8
+
9
+ # supported: basic-http-auth - see: http://sandbox.wegift.io
10
+
11
+ def initialize(options = {})
12
+ @api_host = options[:api_host] || 'http://sandbox.wegift.io'
13
+ @api_path = options[:api_path] || '/api/b2b-sync/v1'
14
+ @api_key = options[:api_key].to_s
15
+ @api_secret = options[:api_secret]
16
+
17
+ @connection = Faraday.new(:url => @api_host)
18
+ @connection.basic_auth(@api_key, @api_secret)
19
+ end
20
+
21
+ # KISS since we have only one call!
22
+ def post(path, payload = {})
23
+ @connection.post do |req|
24
+ req.url [@api_path, path].join('')
25
+ req.headers['Content-Type'] = 'application/json'
26
+ req.body = payload.to_json
27
+ end
28
+ end
29
+
30
+ # TODO: shared context/connection for all calls
31
+ # keep client => https://github.com/lostisland/faraday#basic-use
32
+
33
+ end
34
+
35
+ end
@@ -0,0 +1,74 @@
1
+ require_relative 'response'
2
+
3
+ class Wegift::Order < Wegift::Response
4
+
5
+ PATH = '/order-digital-card'
6
+
7
+ DELIVERY_TYPE = {:direct => 'direct', :email => 'email'}
8
+
9
+ # request/payload
10
+ attr_accessor :product_code, :delivery, :amount, :currency_code, :external_ref
11
+
12
+ # response/success
13
+ attr_accessor :code, :expiry_date, :pin
14
+
15
+ def initialize(options = {})
16
+ @product_code = options[:product_code]
17
+ @delivery = options[:delivery].eql?(DELIVERY_TYPE[:email]) ? options[:delivery] : DELIVERY_TYPE[:direct]
18
+ @amount = options[:amount]
19
+ @currency_code = options[:currency_code]
20
+ @external_ref = options[:external_ref]
21
+ end
22
+
23
+ def payload
24
+ {
25
+ :product_code => @product_code,
26
+ :delivery => @delivery,
27
+ :amount => @amount,
28
+ :currency_code => @currency_code,
29
+ :external_ref => @external_ref,
30
+ }
31
+ end
32
+
33
+ # Order Digital Card
34
+ # POST /api/b2b-sync/v1/order-digital-card
35
+ def post(ctx)
36
+ response = ctx.post(PATH, self.payload)
37
+ self.parse(JSON.parse(response.body))
38
+ end
39
+
40
+ def parse(data)
41
+ super(data)
42
+
43
+ # nested status/error object
44
+ # assuming root "status" is always "SUCCESS" if "e_code" is set
45
+ #{
46
+ # "e_code": {
47
+ # "error_code": "EC001",
48
+ # "error_string": "Error retrieving E-Code from data processor",
49
+ # "status": "ERROR"
50
+ # },
51
+ # "error_code": null,
52
+ # "error_details": null,
53
+ # "error_string": null,
54
+ # "order_id": 18,
55
+ # "status": "SUCCESS"
56
+ #}
57
+
58
+ # override root "status" if set
59
+ if data['e_code'] && data['e_code']['status'].eql?(STATUS[:error])
60
+ @status = data['e_code']['status']
61
+ @error_code = data['e_code']['error_code'] unless data['e_code']['error_code'].blank?
62
+ @error_string = data['e_code']['error_string'] unless data['e_code']['error_string'].blank?
63
+ @error_details = data['e_code']['error_details'] unless data['e_code']['error_details'].blank?
64
+ end
65
+
66
+ # set valid data
67
+ if data['e_code'] && data['e_code']['status'].eql?(STATUS[:success])
68
+ @code = data['e_code']['code']
69
+ @expiry_date = data['e_code']['expiry_date']
70
+ @pin = data['e_code']['pin']
71
+ end
72
+ end
73
+
74
+ end
@@ -0,0 +1,28 @@
1
+ class Wegift::Response
2
+
3
+ STATUS = {:success => 'SUCCESS', :error => 'ERROR'}
4
+
5
+ # Field Name Contents
6
+ #
7
+ # status - The status of the transaction. Usually “SUCCESS” or “ERROR”
8
+ # error_code - The error code, i.e. SE002
9
+ # error_string - Description of the error code, i.e. Required field missing from request
10
+ # error_details - Details of the particular error, i.e. Field "delivery" missing from request
11
+
12
+ # global shared body
13
+ attr_accessor :status, :error_code, :error_string, :error_details
14
+
15
+ def is_successful?
16
+ @status && @status.eql?(STATUS[:success])
17
+ end
18
+
19
+ def parse(data = {})
20
+ @status = data['status']
21
+ @error_code = data['error_code']
22
+ @error_string = data['error_string']
23
+ @error_details = data['error_details']
24
+ end
25
+
26
+ # TODO
27
+
28
+ end
@@ -0,0 +1,3 @@
1
+ module Wegift
2
+ VERSION = '0.1.0'
3
+ end
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'wegift/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'wegift-ruby-client'
8
+ spec.version = Wegift::VERSION
9
+ spec.authors = ['Klaas Endrikat']
10
+ spec.email = ['klaas.endrikat@googlemail.com']
11
+
12
+ spec.summary = %q{A simple Ruby client for the WEGIFT API}
13
+ spec.homepage = 'https://github.com/kendrikat/wegift-ruby-client'
14
+ spec.license = 'MIT'
15
+
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.required_ruby_version = '>= 2.1'
22
+
23
+ spec.add_dependency 'faraday', '~> 0.9', '>= 0.9.2'
24
+ spec.add_dependency 'json', '~> 1.7', '>= 1.7.7'
25
+
26
+ spec.add_development_dependency 'bundler', '~> 1.14'
27
+ spec.add_development_dependency 'rake', '~> 10.0'
28
+ spec.add_development_dependency 'rspec', '~> 3.0'
29
+ spec.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.3'
30
+ spec.add_development_dependency 'webmock', '~> 2.3', '>= 2.3.2'
31
+ spec.add_development_dependency 'dotenv', '~> 2.2', '>= 2.2.0'
32
+ end
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wegift-ruby-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Klaas Endrikat
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-10-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.9'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.9.2
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.9'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.9.2
33
+ - !ruby/object:Gem::Dependency
34
+ name: json
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.7'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 1.7.7
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '1.7'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 1.7.7
53
+ - !ruby/object:Gem::Dependency
54
+ name: bundler
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '1.14'
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '1.14'
67
+ - !ruby/object:Gem::Dependency
68
+ name: rake
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '10.0'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '10.0'
81
+ - !ruby/object:Gem::Dependency
82
+ name: rspec
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - "~>"
86
+ - !ruby/object:Gem::Version
87
+ version: '3.0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - "~>"
93
+ - !ruby/object:Gem::Version
94
+ version: '3.0'
95
+ - !ruby/object:Gem::Dependency
96
+ name: vcr
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '3.0'
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: 3.0.3
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '3.0'
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: 3.0.3
115
+ - !ruby/object:Gem::Dependency
116
+ name: webmock
117
+ requirement: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - "~>"
120
+ - !ruby/object:Gem::Version
121
+ version: '2.3'
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 2.3.2
125
+ type: :development
126
+ prerelease: false
127
+ version_requirements: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.3'
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: 2.3.2
135
+ - !ruby/object:Gem::Dependency
136
+ name: dotenv
137
+ requirement: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - "~>"
140
+ - !ruby/object:Gem::Version
141
+ version: '2.2'
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: 2.2.0
145
+ type: :development
146
+ prerelease: false
147
+ version_requirements: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: '2.2'
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: 2.2.0
155
+ description:
156
+ email:
157
+ - klaas.endrikat@googlemail.com
158
+ executables:
159
+ - console
160
+ - setup
161
+ extensions: []
162
+ extra_rdoc_files: []
163
+ files:
164
+ - ".gitignore"
165
+ - ".rspec"
166
+ - ".travis.yml"
167
+ - CODE_OF_CONDUCT.md
168
+ - Gemfile
169
+ - LICENSE.txt
170
+ - README.md
171
+ - Rakefile
172
+ - bin/console
173
+ - bin/setup
174
+ - lib/wegift.rb
175
+ - lib/wegift/client.rb
176
+ - lib/wegift/models/order.rb
177
+ - lib/wegift/models/response.rb
178
+ - lib/wegift/version.rb
179
+ - wegift-ruby-client.gemspec
180
+ homepage: https://github.com/kendrikat/wegift-ruby-client
181
+ licenses:
182
+ - MIT
183
+ metadata: {}
184
+ post_install_message:
185
+ rdoc_options: []
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '2.1'
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ requirements: []
199
+ rubyforge_project:
200
+ rubygems_version: 2.5.2
201
+ signing_key:
202
+ specification_version: 4
203
+ summary: A simple Ruby client for the WEGIFT API
204
+ test_files: []