quicktravel_client 4.3.1 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77822f7788ef6e37f3aafa3bdeb81bde25d23732ce4d1d6ab2d8f490138ef3f2
4
- data.tar.gz: c7cae875d4b9fa59a22d1f76e5744574c6f39d5b7accbc2d9e3b739f6cacf7cd
3
+ metadata.gz: b5ffa50ab5505f3f53eecd16832a82eccba240f45e21a2fe73b7fb7c5004f241
4
+ data.tar.gz: abb13a40b9ae0fb61893cff5cb9f5e83372e0633b0035419e060d4be70a1b746
5
5
  SHA512:
6
- metadata.gz: 86adbae7e5b5a0b48bf476e9e55ba384275f29bcd56f36f2338e6c0c94cc325c155cc297d96cd454c2bf001aa56106cb968f287878d8a6daeba1b00c830d3d8b
7
- data.tar.gz: 40144af146ec0df82b49ba86d6d5bd81cc44c6e3b54c02641f0cd70a3febd81217a991c1563527230b62d3de49b08bff2ce438e527e4660902504f230bb77d39
6
+ metadata.gz: 05fb7f9ee4835df9ff9f7c5aac7671c0508a57eec2ee7330dad785e4a4126c53b90a33e0e7ee0572e9c337ba187099072262694bca525b290e62c5b056bce633
7
+ data.tar.gz: b01fb44e29aee1a5ebcdf7a3725e0b5e4e179e64ae52e22ff878bacd7ff98e6001b0e27a9dd9a2f96c26936b7ad193d45c168c498dd7ac0463c5db5416c13c90
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
  This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
5
5
 
6
+ ## [4.3.2]
7
+ ### Fixed
8
+ - [TT-8511] Revert party lookup via the API endpoint
9
+
6
10
  ## [4.3.1]
7
11
  ### Fixed
8
12
  - [TT-8471] Fix missing QuickTravel:VERSION const error
@@ -7,17 +7,22 @@ module QuickTravel
7
7
 
8
8
  def initialize(hash = {})
9
9
  super
10
- if type.blank?
11
- @type = 'Person'
12
- end
10
+ # TODO Fix the QT endpoint to actual return the type, first step
11
+ # is to revert it so we can fix the pacts, than we can update the
12
+ # expectations to include a return value
13
+ @type = 'Person'
13
14
  end
14
15
 
15
- self.api_base = '/api/parties'
16
+ self.api_base = '/parties'
16
17
 
17
18
  def self.find_by_login(options)
18
19
  get_and_validate('/parties/find_by_login.json', options)
19
20
  end
20
21
 
22
+ def self.create(options = {})
23
+ post_and_validate("/api/parties.json", options)
24
+ end
25
+
21
26
  # Asks QuickTravel to check the credentials
22
27
  #
23
28
  # @returns: Party: Valid Credentials
@@ -1,3 +1,3 @@
1
1
  module QuickTravel
2
- VERSION = '4.3.1'
2
+ VERSION = '4.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quicktravel_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.1
4
+ version: 4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-12-02 00:00:00.000000000 Z
13
+ date: 2020-12-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty