Repository URL to install this package:
|
Version:
0.0.1 ▾
|
module Razorsync
class Client
module ServiceRequests
# NOTE: Service Request List requires params to include time window in format below:
# {
# "FromModifiedDate":"\/Date(1342705616670)\/",
# "ToModifiedDate":"\/Date(1347290758)\/"
# }
#where time is current milliseconds Ex. (Time.now.to_f * 1000).floor
def service_request_list(params = {})
response = post("ServiceRequest/List", params)
end
def service_request(id, params = {})
response = get("ServiceRequest/#{id}", params)
end
end
end
end