govuk-pay-api-client 0.1.0 → 0.1.1

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: d18d8d9aac6c0fab7b5e79ef5fd32dae733d4903
4
- data.tar.gz: ac36fde9a27b4d2531418a97326f654abf878b29
3
+ metadata.gz: cada91da0306f1f94cc1f828af006f6a1167c7df
4
+ data.tar.gz: 03460adac2e545abeade816ab446ad158cfa033e
5
5
  SHA512:
6
- metadata.gz: 282485c3d53ca344a31a66767f28fbd3ff140484e78ad27c989a06bc75dd2ca5fd016e65822d747e6d75d6a9cf044ae64f31ddd5bd2a7a5dc27dc9c783b09125
7
- data.tar.gz: 410c170f1f84d89ccd65d27f149aae73e3c263d09622d0e7118b01f236fabc30abad8b5c768481bcc6702ad5ea80bf503998f940d02d84537c2347d023b7f4a2
6
+ metadata.gz: 0019f43b51d895a7be1fe40c1a7e413042dd01fce826af6a14533605aada023f5dcfa91f405a0f98c3b61832357073038e28110d808bcd91ea47c4bb1662bf7e
7
+ data.tar.gz: f7a60b8e1587fbb2a8258fae9833e351d74658ed855b01bbf32674404ab26ad9f895afc972104338f794ae779efa24d0fad91619269fae2bcb2567760e917cca
data/.gitignore CHANGED
@@ -14,3 +14,4 @@ spec/dummy/db/
14
14
  spec/dummy/db/*
15
15
  spec/dummy/tmp/*
16
16
  spec/dummy/tmp/
17
+ *.gem
@@ -1,3 +1,3 @@
1
1
  module GovukPayApiClient
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -1,29 +1,5 @@
1
1
  module GovpayExample
2
2
  module Mocks
3
- def glimr_api_call
4
- class_double(
5
- Excon,
6
- 'glimr availability check',
7
- post: instance_double(
8
- Excon::Response,
9
- status: 200,
10
- body: { glimrAvailable: 'yes' }.to_json
11
- )
12
- )
13
- end
14
-
15
- def a_create_payment_success(initial_payment_response)
16
- class_double(
17
- Excon,
18
- 'glimr availability check',
19
- post: instance_double(
20
- Excon::Response,
21
- status: 200,
22
- body: initial_payment_response
23
- )
24
- )
25
- end
26
-
27
3
  def a_create_payment_timeout
28
4
  class_double(Excon, 'create payment timeout').tap { |ex|
29
5
  expect(ex).to receive(:post).and_raise(Excon::Errors::Timeout)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk-pay-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todd Tyree
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  version: '0'
213
213
  requirements: []
214
214
  rubyforge_project:
215
- rubygems_version: 2.5.1
215
+ rubygems_version: 2.6.6
216
216
  signing_key:
217
217
  specification_version: 4
218
218
  summary: An API client to handle Govuk Pay interactions