lib/quick_travel/checkout.rb in quicktravel_client-3.8.0 vs lib/quick_travel/checkout.rb in quicktravel_client-3.8.1

- old
+ new

@@ -45,10 +45,9 @@ # TODO Move to an external builder? def self.attributes_for attrs = yield attrs[:completed] = attrs['progress'] == 'completed' - attrs[:completed] = attrs['successful'] if attrs['successful'].present? attrs[:successful] = attrs[:completed] attrs rescue AdapterError => e { completed: true,