lib/quick_travel/adapter.rb in quicktravel_client-2.8.0 vs lib/quick_travel/adapter.rb in quicktravel_client-2.9.0
- old
+ new
@@ -99,18 +99,9 @@
def self.update(id, options = {})
check_id!(id)
put_and_validate("#{api_base}/#{id}.json", options)
end
- def self.qt_date_format_conversion(str)
- qt_date_format_conversion!(str)
- rescue ArgumentError
- end
-
- def self.qt_date_format_conversion!(str)
- Date.strptime(str, '%d/%m/%Y').strftime('%d-%m-%Y')
- end
-
def to_hash
instance_values
end
protected