Class: Booker::V4::BusinessClient
- Includes:
- BusinessREST
- Defined in:
- lib/booker/v4/business_client.rb
Constant Summary collapse
- ENV_BASE_URL_KEY =
'BOOKER_BUSINESS_SERVICE_URL'.freeze
- DEFAULT_BASE_URL =
'https://apicurrent-app.booker.ninja/webservice4/json/BusinessService.svc'.freeze
Constants included from RequestHelper
RequestHelper::DEFAULT_PAGINATION_PARAMS
Constants inherited from Client
Client::API_GATEWAY_ERRORS, Client::BOOKER_SERVER_TIMEZONE, Client::CLIENT_CREDENTIALS_GRANT_TYPE, Client::CREATE_TOKEN_CONTENT_TYPE, Client::CREATE_TOKEN_PATH, Client::DEFAULT_AUTH_BASE_URL, Client::DEFAULT_CONTENT_TYPE, Client::DEFAULT_REQUEST_TIMEOUT, Client::REFRESH_TOKEN_GRANT_TYPE, Client::UPDATE_TOKEN_CONTEXT_PATH, Client::VALID_ACCESS_TOKEN_SCOPES
Instance Attribute Summary
Attributes inherited from Client
#access_token_scope, #api_subscription_key, #auth_base_url, #auth_with_client_credentials, #base_url, #client_id, #client_secret, #location_id, #refresh_token, #request_timeout, #temp_access_token, #temp_access_token_expires_at, #token_store, #token_store_callback_method
Method Summary
Methods included from BusinessREST
#create_special, #find_appointments_partial, #find_customers, #find_employees, #find_locations, #find_orders, #find_orders_partial, #find_treatments, #get_customer, #get_location_day_schedules, #get_location_feature_settings, #get_location_notification_settings, #get_logged_in_user, #update_location_notification_settings
Methods included from RequestHelper
Methods included from CommonREST
#confirm_appointment, #get_location, #get_online_booking_settings
Methods inherited from Client
#access_token, #access_token_response, #delete, #full_url, #get, #get_access_token, #get_base_url, #get_booker_resources, #get_location_access_token, #handle_errors!, #initialize, #paginated_request, #patch, #post, #put, #update_token_store
Constructor Details
This class inherits a constructor from Booker::Client