Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
module AppointmentPlus
  class Client
    module Customers

      # NOTE: default response_type is json
      def customers(params = {})
        params[:response_type] = 'json'
        query_string = generate_query_string(params)
        response = post("Customers/GetCustomers#{query_string}", params)
      end


      def customer(customer_id, params = {})
        params[:response_type] = 'json'
        params[:customer] = "#{customer_id}"
        query_string = generate_query_string(params)
        response = post("Customers/GetCustomers#{query_string}", params)
      end

    end
  end
end