100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
# File 'lib/booker.rb', line 100
def run_multi_spa_availability options = {}
url = build_url '/availability/multispa'
defaults = {
"Radius" => 20,
"ZipCode" => "77057",
"MaxNumberOfLocations" => 5,
"EndDateTime" => Time.now.to_i + 60 * 60 * 5,
"StartDateTime" => Time.now.to_i,
"TreatmentCategoryID" => 30,
"TreatmentSubCategoryID" => 218,
"access_token" => @access_token
}
convert_time_to_booker_format! options
return_post_response url, defaults, options
end
|