lib/quick_travel/checkout.rb in quicktravel_client-1.1.2 vs lib/quick_travel/checkout.rb in quicktravel_client-2.0.0
- old
+ new
@@ -43,10 +43,10 @@
def self.attributes_for
attrs = yield
attrs[:completed] = (attrs['progress'] == 'completed')
attrs[:successful] = attrs[:completed]
attrs
- rescue AdapterException => e
+ rescue AdapterError => e
{
completed: true,
successful: false,
error: e.message
}