Repository URL to install this package:
|
Version:
0.0.1 ▾
|
module AppointmentPlus
# Wrapper for the AppointmentPlus REST API.
class Client < API
Dir[File.expand_path('../client/*.rb', __FILE__)].each{|f| require f}
def generate_query_string(params)
query_string = ""
params.each do |k, v|
query_string << k.to_s + "=" + v + "&"
end
query_string.insert(0, "?") unless query_string.blank?
query_string
end
include AppointmentPlus::Client::Customers
include AppointmentPlus::Client::Appointments
include AppointmentPlus::Client::Locations
end
end