Method: Booker::Client#find_locations
- Defined in:
- lib/booker.rb
#find_locations(options = {}) ⇒ Object
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/booker.rb', line 156 def find_locations = {} url = build_url "/locations" defaults = { "access_token" => @access_token, "BrandID" => nil, "BusinessName" => nil, "FeatureLevel" => nil, "PageNumber" => 1, "PageSize" => 5, "SortBy" => [ { "SortBy" => "Name", "SortDirection" => 0 } ], "UsePaging" => true, # throws a weird exception about null arguments } return_post_response url, defaults, end |