clutch-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: 6866a73737ccb27cbe8aa75d72d27fb662cba943
4
+ data.tar.gz: 225c68cf188687bed2a3cda6b5cc676098b464cd
5
+ SHA512:
6
+ metadata.gz: efd6dca42abe0c396aa5e83994ae698cf804a08548e1289fc45476de9d109226caa8a80e6814e99f9c470943602b48aab61c420b449997ffb8f4f965e1de85c9
7
+ data.tar.gz: 66b2fca5c7518a3db8ff0353b50a9c040fafd1b3260ee3b8fb8c95ca00a6b5c9a75af77aa1d299ae00c066083d4ef25a4d0a7ac5fccc4826fe244a6b0c4c13d2
data/.env.test ADDED
@@ -0,0 +1,6 @@
1
+ CLUTCH_API_KEY=INSERT_KEY
2
+ CLUTCH_API_SECRET=INSERT_SECRET
3
+ CLUTCH_API_BASE=https://api-test.profitpointinc.com:9002/merchant/
4
+ CLUTCH_BRAND=INSERT_BRAND
5
+ CLUTCH_LOCATION=INSERT_LOCATION
6
+ CLUTCH_TERMINAL=INSERT_TERMINAL
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ .env
data/.pronto.yml ADDED
@@ -0,0 +1,7 @@
1
+ verbose: false
2
+ max_warnings: 150
3
+ github:
4
+ slug: follain/clutch
5
+ access_token: ENV["GITHUB_ACCESS_TOKEN"]
6
+ api_endpoint: https://api.github.com/
7
+ web_endpoint: https://github.com/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,145 @@
1
+ # Relaxed.Ruby.Style
2
+
3
+ Style/Alias:
4
+ Enabled: false
5
+ StyleGuide: http://relaxed.ruby.style/#stylealias
6
+
7
+ Style/BeginBlock:
8
+ Enabled: false
9
+ StyleGuide: http://relaxed.ruby.style/#stylebeginblock
10
+
11
+ Style/BlockDelimiters:
12
+ Enabled: false
13
+ StyleGuide: http://relaxed.ruby.style/#styleblockdelimiters
14
+
15
+ Style/Documentation:
16
+ Enabled: false
17
+ StyleGuide: http://relaxed.ruby.style/#styledocumentation
18
+
19
+ Style/DotPosition:
20
+ Enabled: false
21
+ StyleGuide: http://relaxed.ruby.style/#styledotposition
22
+
23
+ Style/DoubleNegation:
24
+ Enabled: false
25
+ StyleGuide: http://relaxed.ruby.style/#styledoublenegation
26
+
27
+ Style/EndBlock:
28
+ Enabled: false
29
+ StyleGuide: http://relaxed.ruby.style/#styleendblock
30
+
31
+ Style/FormatString:
32
+ Enabled: false
33
+ StyleGuide: http://relaxed.ruby.style/#styleformatstring
34
+
35
+ Style/IfUnlessModifier:
36
+ Enabled: false
37
+ StyleGuide: http://relaxed.ruby.style/#styleifunlessmodifier
38
+
39
+ Style/Lambda:
40
+ Enabled: false
41
+ StyleGuide: http://relaxed.ruby.style/#stylelambda
42
+
43
+ Style/ModuleFunction:
44
+ Enabled: false
45
+ StyleGuide: http://relaxed.ruby.style/#stylemodulefunction
46
+
47
+ Style/MultilineBlockChain:
48
+ Enabled: false
49
+ StyleGuide: http://relaxed.ruby.style/#stylemultilineblockchain
50
+
51
+ Style/NegatedIf:
52
+ Enabled: false
53
+ StyleGuide: http://relaxed.ruby.style/#stylenegatedif
54
+
55
+ Style/NegatedWhile:
56
+ Enabled: false
57
+ StyleGuide: http://relaxed.ruby.style/#stylenegatedwhile
58
+
59
+ Style/ParallelAssignment:
60
+ Enabled: false
61
+ StyleGuide: http://relaxed.ruby.style/#styleparallelassignment
62
+
63
+ Style/PercentLiteralDelimiters:
64
+ Enabled: false
65
+ StyleGuide: http://relaxed.ruby.style/#stylepercentliteraldelimiters
66
+
67
+ Style/PerlBackrefs:
68
+ Enabled: false
69
+ StyleGuide: http://relaxed.ruby.style/#styleperlbackrefs
70
+
71
+ Style/Semicolon:
72
+ Enabled: false
73
+ StyleGuide: http://relaxed.ruby.style/#stylesemicolon
74
+
75
+ Style/SignalException:
76
+ Enabled: false
77
+ StyleGuide: http://relaxed.ruby.style/#stylesignalexception
78
+
79
+ Style/SingleLineBlockParams:
80
+ Enabled: false
81
+ StyleGuide: http://relaxed.ruby.style/#stylesinglelineblockparams
82
+
83
+ Style/SingleLineMethods:
84
+ Enabled: false
85
+ StyleGuide: http://relaxed.ruby.style/#stylesinglelinemethods
86
+
87
+ Style/SpaceBeforeBlockBraces:
88
+ Enabled: false
89
+ StyleGuide: http://relaxed.ruby.style/#stylespacebeforeblockbraces
90
+
91
+ Style/SpaceInsideParens:
92
+ Enabled: false
93
+ StyleGuide: http://relaxed.ruby.style/#stylespaceinsideparens
94
+
95
+ Style/SpecialGlobalVars:
96
+ Enabled: false
97
+ StyleGuide: http://relaxed.ruby.style/#stylespecialglobalvars
98
+
99
+ Style/StringLiterals:
100
+ Enabled: false
101
+ StyleGuide: http://relaxed.ruby.style/#stylestringliterals
102
+
103
+ Style/TrailingCommaInLiteral:
104
+ Enabled: false
105
+ StyleGuide: http://relaxed.ruby.style/#styletrailingcommainliteral
106
+
107
+ Style/WhileUntilModifier:
108
+ Enabled: false
109
+ StyleGuide: http://relaxed.ruby.style/#stylewhileuntilmodifier
110
+
111
+ Lint/AmbiguousRegexpLiteral:
112
+ Enabled: false
113
+ StyleGuide: http://relaxed.ruby.style/#lintambiguousregexpliteral
114
+
115
+ Lint/AssignmentInCondition:
116
+ Enabled: false
117
+ StyleGuide: http://relaxed.ruby.style/#lintassignmentincondition
118
+
119
+ Metrics/AbcSize:
120
+ Enabled: false
121
+
122
+ Metrics/BlockNesting:
123
+ Enabled: false
124
+
125
+ Metrics/ClassLength:
126
+ Enabled: false
127
+
128
+ Metrics/ModuleLength:
129
+ Enabled: false
130
+
131
+ Metrics/CyclomaticComplexity:
132
+ Enabled: false
133
+
134
+ Metrics/LineLength:
135
+ Enabled: false
136
+
137
+ Metrics/MethodLength:
138
+ Enabled: false
139
+
140
+ Metrics/ParameterLists:
141
+ Enabled: false
142
+
143
+ Metrics/PerceivedComplexity:
144
+ Enabled: false
145
+
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.3
5
+ before_install: gem install bundler -v 1.13.6
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in clutch.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Samuel Martini
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,41 @@
1
+ # Clutch
2
+
3
+ A simple client for the [Clutch API](http://stage-api-docs.clutch.com:8091/)
4
+
5
+ [![CircleCI](https://circleci.com/gh/Follain/clutch/tree/master.svg?style=svg&circle-token=7bef3c072bded646e3b124860faf1bf67b902f98)](https://circleci.com/gh/Follain/clutch/tree/master)
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'clutch'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install clutch
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ 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.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/clutch.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
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 "clutch"
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
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/circle.yml ADDED
@@ -0,0 +1,3 @@
1
+ test:
2
+ post:
3
+ - 'if [ -n "$CI_PULL_REQUEST" ]; then PULL_REQUEST_ID=${CI_PULL_REQUEST##*/} bundle exec pronto run -f github_pr; fi'
data/clutch.gemspec ADDED
@@ -0,0 +1,42 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'clutch/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "clutch-client"
8
+ spec.version = Clutch::VERSION
9
+ spec.authors = [""]
10
+ spec.email = [""]
11
+
12
+ spec.summary = %q{}
13
+ spec.description = %q{}
14
+ spec.homepage = ""
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against " \
23
+ "public gem pushes."
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_dependency "faraday", "~> 0.11"
34
+ spec.add_dependency "faraday_middleware", "~> 0.11"
35
+ spec.add_dependency "hashie", "~> 3.5"
36
+
37
+ spec.add_development_dependency "rspec", "~> 3.5"
38
+ spec.add_development_dependency "pronto", "~> 0.7"
39
+ spec.add_development_dependency "pronto-rubocop", "~> 0.7"
40
+ spec.add_development_dependency "vcr", "~> 3.0"
41
+ spec.add_development_dependency "webmock", "~> 2.3"
42
+ end
@@ -0,0 +1,50 @@
1
+ module Clutch
2
+ class Client
3
+ module NeverCapitalize
4
+ def capitalize!
5
+ super
6
+ end
7
+ end
8
+
9
+ HEADER_KEYS = %w[brand location terminal].map{ |key| key.extend(NeverCapitalize) }
10
+
11
+ attr_reader :connection
12
+
13
+ %w[api_key api_secret api_base brand location terminal card_set].each do |key|
14
+ define_method key do
15
+ Clutch.configuration.send("clutch_#{key}")
16
+ end
17
+ end
18
+
19
+
20
+ def headers
21
+ Hash[HEADER_KEYS.map{ |key| [key, send(key) ] }]
22
+ end
23
+
24
+ def initialize(connection = nil)
25
+ @connection = connection || build_connection
26
+ end
27
+
28
+ def build_connection
29
+ #opts = { ssl: { verify: false }, proxy: "http://localhost:8888" }
30
+ opts = {}
31
+ Faraday.new(api_base, opts) do |faraday|
32
+ faraday.adapter :net_http
33
+ faraday.request :json
34
+
35
+ faraday.response :mashify
36
+ faraday.response :json
37
+ end.tap do |faraday|
38
+ faraday.basic_auth api_key, api_secret
39
+ end
40
+ end
41
+
42
+ def post(path, hash)
43
+ response = connection.post(path, JSON.generate(hash)) do |conn|
44
+ conn.headers.merge!(headers)
45
+ end
46
+
47
+ response.body
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,23 @@
1
+ module Clutch
2
+ class Configuration
3
+ attr_accessor :clutch_api_key,
4
+ :clutch_api_secret,
5
+ :clutch_api_base,
6
+ :clutch_brand,
7
+ :clutch_location,
8
+ :clutch_terminal,
9
+ :clutch_card_set,
10
+ :http_proxy
11
+
12
+ def initialize
13
+ @clutch_api_key = nil
14
+ @clutch_api_secret = nil
15
+ @clutch_api_base = nil
16
+ @clutch_brand = nil
17
+ @clutch_location = nil
18
+ @clutch_terminal = nil
19
+ @clutch_card_set = nil
20
+ @http_proxy = nil
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,9 @@
1
+ module Clutch
2
+ class ResponseException < StandardError
3
+ attr_reader :response
4
+
5
+ def initialize(response)
6
+ @response = response
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ module Clutch
2
+ VERSION = "0.1.0"
3
+ end
data/lib/clutch.rb ADDED
@@ -0,0 +1,105 @@
1
+ require "faraday"
2
+ require "faraday_middleware"
3
+ require "clutch/version"
4
+ require "clutch/client"
5
+ require "clutch/response_exception"
6
+ require "clutch/configuration"
7
+
8
+ module Clutch
9
+ class << self
10
+ attr_accessor :configuration
11
+
12
+ def configure
13
+ yield(configuration)
14
+ end
15
+
16
+ def configuration
17
+ @configuration ||= Configuration.new
18
+ end
19
+
20
+ def client
21
+ @client ||= Client.new
22
+ end
23
+
24
+ def allocate(card_set_id:)
25
+ client.post "/allocate", cardSetId: card_set_id
26
+ end
27
+
28
+ def hold(card_number:, dollars:)
29
+ update_balance card_number, dollars, :hold
30
+ end
31
+
32
+ def history(card_number:)
33
+ client.post "/cardHistory", cardNumber: card_number
34
+ end
35
+
36
+ def issue(card_number:, dollars:, is_return_related: false)
37
+ update_balance card_number, dollars, "issue", is_return_related: is_return_related
38
+ end
39
+
40
+ def redeem(card_number:, dollars:)
41
+ update_balance card_number, dollars, "redeem"
42
+ end
43
+
44
+ def redeem_hold(card_number:, dollars:, hold_transaction_id:)
45
+ update_balance card_number, dollars, "redeem", hold_transaction_id: hold_transaction_id
46
+ end
47
+
48
+ def release_hold(card_number:, dollars:, hold_transaction_id:)
49
+ update_balance card_number, dollars, "redeem", hold_transaction_id: hold_transaction_id, release_hold_remainder: true
50
+ end
51
+
52
+ def search(filters:, returnFields:)
53
+ client.post "/search", filters: filters, returnFields: returnFields
54
+ end
55
+
56
+ def find(card_number:)
57
+ result = history(card_number: card_number)
58
+ if (result.success)
59
+ card = search(
60
+ filters: { cardNumber: card_number },
61
+ returnFields: {
62
+ balances: true,
63
+ checkouts: true,
64
+ customData: true,
65
+ activationDate: true
66
+ }
67
+ ).cards.first
68
+
69
+ card.activated = true
70
+ return card
71
+ end
72
+
73
+ case result.errorMessage
74
+ when 'Could not find the specified card.'
75
+ raise Clutch::ResponseException.new(result), result.errorMessage
76
+ when 'Could not find the account that goes with the specified card.'
77
+ return { cardNumber: card_number, activated: false, balances: [] }
78
+ else
79
+ raise Clutch::ResponseException.new(result), result.errorMessage
80
+ end
81
+ end
82
+
83
+ def validate(filters:, returnFields:, pin:)
84
+ response = client.post "/search", filters: filters, returnFields: returnFields, forcePinValidation: true, pin: pin
85
+ raise Clutch::ResponseException.new(response), response.errorMessage unless response.success?
86
+ response
87
+ end
88
+
89
+ private
90
+
91
+ def update_balance(card_number, dollars, action, hold_transaction_id: nil, is_return_related: false, release_hold_remainder: false)
92
+ client.post "/updateBalance",
93
+ cardNumber: card_number,
94
+ action: action,
95
+ redeemFromHoldTransactionId: hold_transaction_id,
96
+ releaseHoldRemainder: release_hold_remainder,
97
+ isReturnRelated: is_return_related,
98
+ amount: {
99
+ balanceType: "Currency",
100
+ balanceCode: "USD",
101
+ amount: dollars
102
+ }
103
+ end
104
+ end
105
+ end
metadata ADDED
@@ -0,0 +1,176 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: clutch-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - ''
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-09-19 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.11'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday_middleware
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.11'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.11'
41
+ - !ruby/object:Gem::Dependency
42
+ name: hashie
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.5'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.5'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.5'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pronto
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.7'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.7'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pronto-rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.7'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.7'
97
+ - !ruby/object:Gem::Dependency
98
+ name: vcr
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.3'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.3'
125
+ description: ''
126
+ email:
127
+ - ''
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - ".env.test"
133
+ - ".gitignore"
134
+ - ".pronto.yml"
135
+ - ".rspec"
136
+ - ".rubocop.yml"
137
+ - ".travis.yml"
138
+ - Gemfile
139
+ - LICENSE.txt
140
+ - README.md
141
+ - Rakefile
142
+ - bin/console
143
+ - bin/setup
144
+ - circle.yml
145
+ - clutch.gemspec
146
+ - lib/clutch.rb
147
+ - lib/clutch/client.rb
148
+ - lib/clutch/configuration.rb
149
+ - lib/clutch/response_exception.rb
150
+ - lib/clutch/version.rb
151
+ homepage: ''
152
+ licenses:
153
+ - MIT
154
+ metadata:
155
+ allowed_push_host: https://rubygems.org
156
+ post_install_message:
157
+ rdoc_options: []
158
+ require_paths:
159
+ - lib
160
+ required_ruby_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ requirements: []
171
+ rubyforge_project:
172
+ rubygems_version: 2.5.1
173
+ signing_key:
174
+ specification_version: 4
175
+ summary: ''
176
+ test_files: []