Class: Asdawqw::AsdawqwClient
- Inherits:
-
Object
- Object
- Asdawqw::AsdawqwClient
- Defined in:
- lib/asdawqw/asdawqw_client.rb
Overview
asdawqw client class.
Instance Method Summary collapse
-
#asynchronous_push_messages ⇒ AsynchronousPushMessagesController
Singleton access to asynchronous_push_messages controller.
-
#authorization ⇒ AuthorizationController
Singleton access to authorization controller.
-
#config ⇒ Configuration
Returns the configuration class for easy access.
-
#fee_and_tax ⇒ FeeAndTaxController
Singleton access to fee_and_tax controller.
-
#fee_and_tax_mandatory_at_the_property_level ⇒ FeeAndTaxMandatoryAtThePropertyLevelController
Singleton access to fee_and_tax_mandatory_at_the_property_level controller.
-
#images ⇒ ImagesController
Singleton access to images controller.
-
#initialize(x_api_key: nil, jwt: nil) ⇒ AsdawqwClient
constructor
Initializer with authentication and configuration parameters.
-
#los_pricing ⇒ LOSPricingController
Singleton access to los_pricing controller.
-
#messaging ⇒ MessagingController
Singleton access to messaging controller.
-
#product ⇒ ProductController
Singleton access to product controller.
-
#property_managers ⇒ PropertyManagersController
Singleton access to property_managers controller.
-
#push_notification ⇒ PushNotificationController
Singleton access to push_notification controller.
-
#rates_and_availability ⇒ RatesAndAvailabilityController
Singleton access to rates_and_availability controller.
-
#request_to_book ⇒ RequestToBookController
Singleton access to request_to_book controller.
-
#reservation_notifications ⇒ ReservationNotificationsController
Singleton access to reservation_notifications controller.
-
#testing_of_message_api_calls ⇒ TestingOfMessageAPICallsController
Singleton access to testing_of_message_api_calls controller.
-
#validation ⇒ ValidationController
Singleton access to validation controller.
-
#yields ⇒ YieldsController
Singleton access to yields controller.
Constructor Details
#initialize(x_api_key: nil, jwt: nil) ⇒ AsdawqwClient
Initializer with authentication and configuration parameters.
112 113 114 115 116 117 |
# File 'lib/asdawqw/asdawqw_client.rb', line 112 def initialize(x_api_key: nil, jwt: nil) Configuration.x_api_key = x_api_key if x_api_key Configuration.jwt = jwt if jwt end |
Instance Method Details
#asynchronous_push_messages ⇒ AsynchronousPushMessagesController
Singleton access to asynchronous_push_messages controller.
101 102 103 |
# File 'lib/asdawqw/asdawqw_client.rb', line 101 def AsynchronousPushMessagesController.instance end |
#authorization ⇒ AuthorizationController
Singleton access to authorization controller.
11 12 13 |
# File 'lib/asdawqw/asdawqw_client.rb', line 11 def AuthorizationController.instance end |
#config ⇒ Configuration
Returns the configuration class for easy access.
107 108 109 |
# File 'lib/asdawqw/asdawqw_client.rb', line 107 def config Configuration end |
#fee_and_tax ⇒ FeeAndTaxController
Singleton access to fee_and_tax controller.
47 48 49 |
# File 'lib/asdawqw/asdawqw_client.rb', line 47 def fee_and_tax FeeAndTaxController.instance end |
#fee_and_tax_mandatory_at_the_property_level ⇒ FeeAndTaxMandatoryAtThePropertyLevelController
Singleton access to fee_and_tax_mandatory_at_the_property_level controller.
53 54 55 |
# File 'lib/asdawqw/asdawqw_client.rb', line 53 def fee_and_tax_mandatory_at_the_property_level FeeAndTaxMandatoryAtThePropertyLevelController.instance end |
#images ⇒ ImagesController
Singleton access to images controller.
29 30 31 |
# File 'lib/asdawqw/asdawqw_client.rb', line 29 def images ImagesController.instance end |
#los_pricing ⇒ LOSPricingController
Singleton access to los_pricing controller.
41 42 43 |
# File 'lib/asdawqw/asdawqw_client.rb', line 41 def los_pricing LOSPricingController.instance end |
#messaging ⇒ MessagingController
Singleton access to messaging controller.
77 78 79 |
# File 'lib/asdawqw/asdawqw_client.rb', line 77 def messaging MessagingController.instance end |
#product ⇒ ProductController
Singleton access to product controller.
23 24 25 |
# File 'lib/asdawqw/asdawqw_client.rb', line 23 def product ProductController.instance end |
#property_managers ⇒ PropertyManagersController
Singleton access to property_managers controller.
17 18 19 |
# File 'lib/asdawqw/asdawqw_client.rb', line 17 def property_managers PropertyManagersController.instance end |
#push_notification ⇒ PushNotificationController
Singleton access to push_notification controller.
89 90 91 |
# File 'lib/asdawqw/asdawqw_client.rb', line 89 def push_notification PushNotificationController.instance end |
#rates_and_availability ⇒ RatesAndAvailabilityController
Singleton access to rates_and_availability controller.
35 36 37 |
# File 'lib/asdawqw/asdawqw_client.rb', line 35 def rates_and_availability RatesAndAvailabilityController.instance end |
#request_to_book ⇒ RequestToBookController
Singleton access to request_to_book controller.
83 84 85 |
# File 'lib/asdawqw/asdawqw_client.rb', line 83 def request_to_book RequestToBookController.instance end |
#reservation_notifications ⇒ ReservationNotificationsController
Singleton access to reservation_notifications controller.
95 96 97 |
# File 'lib/asdawqw/asdawqw_client.rb', line 95 def reservation_notifications ReservationNotificationsController.instance end |
#testing_of_message_api_calls ⇒ TestingOfMessageAPICallsController
Singleton access to testing_of_message_api_calls controller.
71 72 73 |
# File 'lib/asdawqw/asdawqw_client.rb', line 71 def TestingOfMessageAPICallsController.instance end |
#validation ⇒ ValidationController
Singleton access to validation controller.
65 66 67 |
# File 'lib/asdawqw/asdawqw_client.rb', line 65 def validation ValidationController.instance end |
#yields ⇒ YieldsController
Singleton access to yields controller.
59 60 61 |
# File 'lib/asdawqw/asdawqw_client.rb', line 59 def yields YieldsController.instance end |