Environment-based service configuration for ActiveResource