quicktravel_client 3.4.0 → 3.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0739621ee28cf749ff5d7f36d70f174ef4e2a691
4
- data.tar.gz: 9baa79fa27de606692962888a651740f4aa895ce
3
+ metadata.gz: 61c9018805cdd67dabe2ce5734b1e77ff74799d8
4
+ data.tar.gz: 84ee1beccfb595959bea820a4d4af488bccfc2d7
5
5
  SHA512:
6
- metadata.gz: 6dc7d6beb05ad0d7f7858a93bc5ae14ed7a4f649f1f213f57083b7148aaa6d124b9bce00905b6443a4d74db217c2b79e6a75a5bb5d8b406ee4fb7d836400fdf9
7
- data.tar.gz: 0f98c7835341587029766e6055b0a1434d2b4181716bc7977419df6fa4671006370947ca4dec470a833c72f1b5a2cd6d3ccb5c0ac86b86ff8218fd27f16af4e4
6
+ metadata.gz: b381fd74cf0ec2c182bf4c33a6410ab7fa4ee47627e740064a5bcb5d47532439db808db066c51a001da5d72f26bc686fbe673d55e2a2eae0c00b73b9fd91f6fb
7
+ data.tar.gz: 2c7699e89866bdd772b24f785cd85f70e0ae36cc4d000dd87b2049754293f99fd0a1a0479900ca4179a417e2da8973ef1618c79c9f8210bd0eea8415e88003e2
data/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@ 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
+ ## [Unreleased]
7
+
8
+ ## [3.5.0]
9
+ ###
10
+ - [TT-3147] Remove unused payment methods
11
+ - [TT-3278] Add full_response option to booking update
12
+
6
13
  ## [3.4.0]
7
14
  ###
8
15
  - Properties now return their associated location and types
@@ -59,8 +59,8 @@ module QuickTravel
59
59
  end
60
60
 
61
61
  # Update an existing booking
62
- def update(options = {})
63
- response = put_and_validate("#{api_base}/#{@id}.json", booking: options)
62
+ def update(attrs = {}, options = {})
63
+ response = put_and_validate("#{api_base}/#{@id}.json", options.merge(booking: attrs))
64
64
  # id is returned if other attributes change otherwise success: true
65
65
  fail AdapterError.new(response) unless response['id'] || response['success']
66
66
 
@@ -7,15 +7,6 @@ module QuickTravel
7
7
  QuickTravel::PaymentType.find(@payment_type_id)
8
8
  end
9
9
 
10
- def self.get_redirect_url(options)
11
- response = get_and_validate("/api/checkouts/migs_redirect_url.json", options)
12
- response[:redirect_url]
13
- end
14
-
15
- def self.handle_redirected_payment(options)
16
- get_and_validate('/api/redirected_payments', options)
17
- end
18
-
19
10
  def self.charge_account(booking, payment_options = {})
20
11
  payment_type = booking.on_account_payment_type
21
12
 
@@ -1,3 +1,3 @@
1
1
  module QuickTravel
2
- VERSION = '3.4.0'
2
+ VERSION = '3.5.0'
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: 3.4.0
4
+ version: 3.5.0
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: 2017-09-04 00:00:00.000000000 Z
13
+ date: 2017-10-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty
@@ -429,7 +429,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
429
429
  version: '0'
430
430
  requirements: []
431
431
  rubyforge_project:
432
- rubygems_version: 2.4.5.1
432
+ rubygems_version: 2.5.2
433
433
  signing_key:
434
434
  specification_version: 4
435
435
  summary: Booking process using QuickTravel API