examples/appointments.rb in supersaas-api-client-1.0.0 vs examples/appointments.rb in supersaas-api-client-1.1.0
- old
+ new
@@ -71,10 +71,10 @@
Supersaas::Client.instance.appointments.get(schedule_id, appointment_id)
end
puts "\n\rlisting changes..."
from = DateTime.now - 120
-puts "\n\r#### Supersaas::Client.instance.appointments.changes(#{schedule_id}, '#{from.strftime("%Y-%m-%d %H:%M:%S")}', #{show_slot || 'false'})\n\r"
+puts "\n\r#### Supersaas::Client.instance.appointments.changes(#{schedule_id}, '#{from.strftime("%Y-%m-%d %H:%M:%S")}', '#{to.strftime("%Y-%m-%d %H:%M:%S")}', #{show_slot || 'false'})\n\r"
Supersaas::Client.instance.appointments.changes(schedule_id, from, show_slot)
puts "\n\rlisting available..."
from = DateTime.now
\ No newline at end of file