```ruby
unless Rails.env.production?
  require 'booking_locations/stub_api'

  BookingLocations.api = BookingLocations::StubApi.new
end
```

Use the real booking locations API in staging
user
```ruby
unless Rails.env.production? || Rails.env.staging?
  require 'booking_locations/stub_api'

  BookingLocations.api = BookingLocations::StubApi.new
end
```
assistant