Class: Verizon::Client
- Inherits:
-
Object
- Object
- Verizon::Client
- Includes:
- CoreLibrary
- Defined in:
- lib/verizon/client.rb
Overview
verizon client class.
Instance Attribute Summary collapse
-
#auth_managers ⇒ Object
readonly
Returns the value of attribute auth_managers.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#account_devices ⇒ AccountDevicesController
Access to account_devices controller.
-
#account_requests ⇒ AccountRequestsController
Access to account_requests controller.
-
#account_subscriptions ⇒ AccountSubscriptionsController
Access to account_subscriptions controller.
-
#accounts ⇒ AccountsController
Access to accounts controller.
-
#anomaly_settings ⇒ AnomalySettingsController
Access to anomaly_settings controller.
-
#anomaly_triggers ⇒ AnomalyTriggersController
Access to anomaly_triggers controller.
-
#anomaly_triggers_v2 ⇒ AnomalyTriggersV2Controller
Access to anomaly_triggers_v2 controller.
-
#billing ⇒ BillingController
Access to billing controller.
-
#campaigns_v2 ⇒ CampaignsV2Controller
Access to campaigns_v2 controller.
-
#campaigns_v3 ⇒ CampaignsV3Controller
Access to campaigns_v3 controller.
-
#client_logging ⇒ ClientLoggingController
Access to client_logging controller.
-
#cloud_connector_devices ⇒ CloudConnectorDevicesController
Access to cloud_connector_devices controller.
-
#cloud_connector_subscriptions ⇒ CloudConnectorSubscriptionsController
Access to cloud_connector_subscriptions controller.
-
#configuration_files ⇒ ConfigurationFilesController
Access to configuration_files controller.
-
#connectivity_callbacks ⇒ ConnectivityCallbacksController
Access to connectivity_callbacks controller.
-
#device_actions ⇒ DeviceActionsController
Access to device_actions controller.
-
#device_diagnostics ⇒ DeviceDiagnosticsController
Access to device_diagnostics controller.
-
#device_groups ⇒ DeviceGroupsController
Access to device_groups controller.
-
#device_location_callbacks ⇒ DeviceLocationCallbacksController
Access to device_location_callbacks controller.
-
#device_management ⇒ DeviceManagementController
Access to device_management controller.
-
#device_monitoring ⇒ DeviceMonitoringController
Access to device_monitoring controller.
-
#device_profile_management ⇒ DeviceProfileManagementController
Access to device_profile_management controller.
-
#device_reports ⇒ DeviceReportsController
Access to device_reports controller.
-
#device_service_management ⇒ DeviceServiceManagementController
Access to device_service_management controller.
-
#device_sms_messaging ⇒ DeviceSMSMessagingController
Access to device_sms_messaging controller.
-
#devices_location_subscriptions ⇒ DevicesLocationSubscriptionsController
Access to devices_location_subscriptions controller.
-
#devices_locations ⇒ DevicesLocationsController
Access to devices_locations controller.
-
#diagnostics_callbacks ⇒ DiagnosticsCallbacksController
Access to diagnostics_callbacks controller.
-
#diagnostics_factory_reset ⇒ DiagnosticsFactoryResetController
Access to diagnostics_factory_reset controller.
-
#diagnostics_history ⇒ DiagnosticsHistoryController
Access to diagnostics_history controller.
-
#diagnostics_observations ⇒ DiagnosticsObservationsController
Access to diagnostics_observations controller.
-
#diagnostics_settings ⇒ DiagnosticsSettingsController
Access to diagnostics_settings controller.
-
#diagnostics_subscriptions ⇒ DiagnosticsSubscriptionsController
Access to diagnostics_subscriptions controller.
-
#e_uicc_device_profile_management ⇒ EUICCDeviceProfileManagementController
Access to e_uicc_device_profile_management controller.
-
#exclusions ⇒ ExclusionsController
Access to exclusions controller.
-
#firmware_v1 ⇒ FirmwareV1Controller
Access to firmware_v1 controller.
-
#firmware_v3 ⇒ FirmwareV3Controller
Access to firmware_v3 controller.
-
#fixed_wireless_qualification ⇒ FixedWirelessQualificationController
Access to fixed_wireless_qualification controller.
-
#global_reporting ⇒ GlobalReportingController
Access to global_reporting controller.
-
#hyper_precise_location_callbacks ⇒ HyperPreciseLocationCallbacksController
Access to hyper_precise_location_callbacks controller.
-
#initialize(connection: nil, adapter: :net_http_persistent, timeout: 60, max_retries: 0, retry_interval: 1, backoff_factor: 2, retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524], retry_methods: %i[get put],, http_callback: nil, environment: Environment::PRODUCTION, oauth_2credentials: nil, thingspace_oauth_credentials: nil, vz_m2m_token: 'TODO: Replace', config: nil) ⇒ Client
constructor
A new instance of Client.
-
#initialize_auth_managers(global_config) ⇒ Object
Initializes the auth managers hash used for authenticating API calls.
-
#m_5g_edge_platforms ⇒ M5gEdgePlatformsController
Access to m_5g_edge_platforms controller.
-
#managing_e_sim_profiles ⇒ ManagingESIMProfilesController
Access to managing_e_sim_profiles controller.
-
#mec ⇒ MECController
Access to mec controller.
-
#oauth_2 ⇒ Object
Returns the configured authentication oAuth2 instance.
-
#oauth_authorization ⇒ OauthAuthorizationController
Access to oauth_authorization controller.
-
#performance_metrics ⇒ PerformanceMetricsController
Access to performance_metrics controller.
-
#promotion_period_information ⇒ PromotionPeriodInformationController
Access to promotion_period_information controller.
-
#retrieve_the_triggers ⇒ RetrieveTheTriggersController
Access to retrieve_the_triggers controller.
-
#server_logging ⇒ ServerLoggingController
Access to server_logging controller.
-
#service_endpoints ⇒ ServiceEndpointsController
Access to service_endpoints controller.
-
#service_plans ⇒ ServicePlansController
Access to service_plans controller.
-
#service_profiles ⇒ ServiceProfilesController
Access to service_profiles controller.
-
#session_management ⇒ SessionManagementController
Access to session_management controller.
-
#sim_actions ⇒ SIMActionsController
Access to sim_actions controller.
-
#sim_secure_for_io_t_licenses ⇒ SIMSecureForIoTLicensesController
Access to sim_secure_for_io_t_licenses controller.
-
#sms ⇒ SMSController
Access to sms controller.
-
#software_management_callbacks_v1 ⇒ SoftwareManagementCallbacksV1Controller
Access to software_management_callbacks_v1 controller.
-
#software_management_callbacks_v2 ⇒ SoftwareManagementCallbacksV2Controller
Access to software_management_callbacks_v2 controller.
-
#software_management_callbacks_v3 ⇒ SoftwareManagementCallbacksV3Controller
Access to software_management_callbacks_v3 controller.
-
#software_management_licenses_v1 ⇒ SoftwareManagementLicensesV1Controller
Access to software_management_licenses_v1 controller.
-
#software_management_licenses_v2 ⇒ SoftwareManagementLicensesV2Controller
Access to software_management_licenses_v2 controller.
-
#software_management_licenses_v3 ⇒ SoftwareManagementLicensesV3Controller
Access to software_management_licenses_v3 controller.
-
#software_management_reports_v1 ⇒ SoftwareManagementReportsV1Controller
Access to software_management_reports_v1 controller.
-
#software_management_reports_v2 ⇒ SoftwareManagementReportsV2Controller
Access to software_management_reports_v2 controller.
-
#software_management_reports_v3 ⇒ SoftwareManagementReportsV3Controller
Access to software_management_reports_v3 controller.
-
#software_management_subscriptions_v1 ⇒ SoftwareManagementSubscriptionsV1Controller
Access to software_management_subscriptions_v1 controller.
-
#software_management_subscriptions_v2 ⇒ SoftwareManagementSubscriptionsV2Controller
Access to software_management_subscriptions_v2 controller.
-
#software_management_subscriptions_v3 ⇒ SoftwareManagementSubscriptionsV3Controller
Access to software_management_subscriptions_v3 controller.
-
#targets ⇒ TargetsController
Access to targets controller.
-
#thing_space_quality_of_service_api_actions ⇒ ThingSpaceQualityOfServiceAPIActionsController
Access to thing_space_quality_of_service_api_actions controller.
-
#thingspace_oauth ⇒ Object
Returns the configured authentication thingspace_oauth instance.
-
#update_triggers ⇒ UpdateTriggersController
Access to update_triggers controller.
-
#usage_trigger_management ⇒ UsageTriggerManagementController
Access to usage_trigger_management controller.
-
#wireless_network_performance ⇒ WirelessNetworkPerformanceController
Access to wireless_network_performance controller.
Constructor Details
#initialize(connection: nil, adapter: :net_http_persistent, timeout: 60, max_retries: 0, retry_interval: 1, backoff_factor: 2, retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524], retry_methods: %i[get put],, http_callback: nil, environment: Environment::PRODUCTION, oauth_2credentials: nil, thingspace_oauth_credentials: nil, vz_m2m_token: 'TODO: Replace', config: nil) ⇒ Client
Returns a new instance of Client.
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 |
# File 'lib/verizon/client.rb', line 454 def initialize( connection: nil, adapter: :net_http_persistent, timeout: 60, max_retries: 0, retry_interval: 1, backoff_factor: 2, retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524], retry_methods: %i[get put], http_callback: nil, environment: Environment::PRODUCTION, oauth_2credentials: nil, thingspace_oauth_credentials: nil, vz_m2m_token: 'TODO: Replace', config: nil ) @config = if config.nil? Configuration.new( connection: connection, adapter: adapter, timeout: timeout, max_retries: max_retries, retry_interval: retry_interval, backoff_factor: backoff_factor, retry_statuses: retry_statuses, retry_methods: retry_methods, http_callback: http_callback, environment: environment, oauth_2credentials: oauth_2credentials, thingspace_oauth_credentials: thingspace_oauth_credentials, vz_m2m_token: vz_m2m_token ) else config end @global_configuration = GlobalConfiguration.new(client_configuration: @config) .base_uri_executor(@config.method(:get_base_uri)) .global_errors(BaseController::GLOBAL_ERRORS) .user_agent(BaseController.user_agent) .global_header('VZ-M2M-Token', @config.vz_m2m_token) initialize_auth_managers(@global_configuration) @global_configuration = @global_configuration.auth_managers(@auth_managers) end |
Instance Attribute Details
#auth_managers ⇒ Object (readonly)
Returns the value of attribute auth_managers.
10 11 12 |
# File 'lib/verizon/client.rb', line 10 def auth_managers @auth_managers end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
10 11 12 |
# File 'lib/verizon/client.rb', line 10 def config @config end |
Instance Method Details
#account_devices ⇒ AccountDevicesController
Access to account_devices controller.
258 259 260 |
# File 'lib/verizon/client.rb', line 258 def account_devices @account_devices ||= AccountDevicesController.new @global_configuration end |
#account_requests ⇒ AccountRequestsController
Access to account_requests controller.
78 79 80 |
# File 'lib/verizon/client.rb', line 78 def account_requests @account_requests ||= AccountRequestsController.new @global_configuration end |
#account_subscriptions ⇒ AccountSubscriptionsController
Access to account_subscriptions controller.
276 277 278 |
# File 'lib/verizon/client.rb', line 276 def account_subscriptions @account_subscriptions ||= AccountSubscriptionsController.new @global_configuration end |
#accounts ⇒ AccountsController
Access to accounts controller.
48 49 50 |
# File 'lib/verizon/client.rb', line 48 def accounts @accounts ||= AccountsController.new @global_configuration end |
#anomaly_settings ⇒ AnomalySettingsController
Access to anomaly_settings controller.
360 361 362 |
# File 'lib/verizon/client.rb', line 360 def anomaly_settings @anomaly_settings ||= AnomalySettingsController.new @global_configuration end |
#anomaly_triggers ⇒ AnomalyTriggersController
Access to anomaly_triggers controller.
366 367 368 |
# File 'lib/verizon/client.rb', line 366 def anomaly_triggers @anomaly_triggers ||= AnomalyTriggersController.new @global_configuration end |
#anomaly_triggers_v2 ⇒ AnomalyTriggersV2Controller
Access to anomaly_triggers_v2 controller.
372 373 374 |
# File 'lib/verizon/client.rb', line 372 def anomaly_triggers_v2 @anomaly_triggers_v2 ||= AnomalyTriggersV2Controller.new @global_configuration end |
#billing ⇒ BillingController
Access to billing controller.
144 145 146 |
# File 'lib/verizon/client.rb', line 144 def billing @billing ||= BillingController.new @global_configuration end |
#campaigns_v2 ⇒ CampaignsV2Controller
Access to campaigns_v2 controller.
192 193 194 |
# File 'lib/verizon/client.rb', line 192 def campaigns_v2 @campaigns_v2 ||= CampaignsV2Controller.new @global_configuration end |
#campaigns_v3 ⇒ CampaignsV3Controller
Access to campaigns_v3 controller.
240 241 242 |
# File 'lib/verizon/client.rb', line 240 def campaigns_v3 @campaigns_v3 ||= CampaignsV3Controller.new @global_configuration end |
#client_logging ⇒ ClientLoggingController
Access to client_logging controller.
210 211 212 |
# File 'lib/verizon/client.rb', line 210 def client_logging @client_logging ||= ClientLoggingController.new @global_configuration end |
#cloud_connector_devices ⇒ CloudConnectorDevicesController
Access to cloud_connector_devices controller.
336 337 338 |
# File 'lib/verizon/client.rb', line 336 def cloud_connector_devices @cloud_connector_devices ||= CloudConnectorDevicesController.new @global_configuration end |
#cloud_connector_subscriptions ⇒ CloudConnectorSubscriptionsController
Access to cloud_connector_subscriptions controller.
330 331 332 |
# File 'lib/verizon/client.rb', line 330 def cloud_connector_subscriptions @cloud_connector_subscriptions ||= CloudConnectorSubscriptionsController.new @global_configuration end |
#configuration_files ⇒ ConfigurationFilesController
Access to configuration_files controller.
222 223 224 |
# File 'lib/verizon/client.rb', line 222 def configuration_files @configuration_files ||= ConfigurationFilesController.new @global_configuration end |
#connectivity_callbacks ⇒ ConnectivityCallbacksController
Access to connectivity_callbacks controller.
72 73 74 |
# File 'lib/verizon/client.rb', line 72 def connectivity_callbacks @connectivity_callbacks ||= ConnectivityCallbacksController.new @global_configuration end |
#device_actions ⇒ DeviceActionsController
Access to device_actions controller.
402 403 404 |
# File 'lib/verizon/client.rb', line 402 def device_actions @device_actions ||= DeviceActionsController.new @global_configuration end |
#device_diagnostics ⇒ DeviceDiagnosticsController
Access to device_diagnostics controller.
90 91 92 |
# File 'lib/verizon/client.rb', line 90 def device_diagnostics @device_diagnostics ||= DeviceDiagnosticsController.new @global_configuration end |
#device_groups ⇒ DeviceGroupsController
Access to device_groups controller.
54 55 56 |
# File 'lib/verizon/client.rb', line 54 def device_groups @device_groups ||= DeviceGroupsController.new @global_configuration end |
#device_location_callbacks ⇒ DeviceLocationCallbacksController
Access to device_location_callbacks controller.
132 133 134 |
# File 'lib/verizon/client.rb', line 132 def device_location_callbacks @device_location_callbacks ||= DeviceLocationCallbacksController.new @global_configuration end |
#device_management ⇒ DeviceManagementController
Access to device_management controller.
42 43 44 |
# File 'lib/verizon/client.rb', line 42 def device_management @device_management ||= DeviceManagementController.new @global_configuration end |
#device_monitoring ⇒ DeviceMonitoringController
Access to device_monitoring controller.
102 103 104 |
# File 'lib/verizon/client.rb', line 102 def device_monitoring @device_monitoring ||= DeviceMonitoringController.new @global_configuration end |
#device_profile_management ⇒ DeviceProfileManagementController
Access to device_profile_management controller.
96 97 98 |
# File 'lib/verizon/client.rb', line 96 def device_profile_management @device_profile_management ||= DeviceProfileManagementController.new @global_configuration end |
#device_reports ⇒ DeviceReportsController
Access to device_reports controller.
348 349 350 |
# File 'lib/verizon/client.rb', line 348 def device_reports @device_reports ||= DeviceReportsController.new @global_configuration end |
#device_service_management ⇒ DeviceServiceManagementController
Access to device_service_management controller.
342 343 344 |
# File 'lib/verizon/client.rb', line 342 def device_service_management @device_service_management ||= DeviceServiceManagementController.new @global_configuration end |
#device_sms_messaging ⇒ DeviceSMSMessagingController
Access to device_sms_messaging controller.
396 397 398 |
# File 'lib/verizon/client.rb', line 396 def device_sms_messaging @device_sms_messaging ||= DeviceSMSMessagingController.new @global_configuration end |
#devices_location_subscriptions ⇒ DevicesLocationSubscriptionsController
Access to devices_location_subscriptions controller.
126 127 128 |
# File 'lib/verizon/client.rb', line 126 def devices_location_subscriptions @devices_location_subscriptions ||= DevicesLocationSubscriptionsController.new @global_configuration end |
#devices_locations ⇒ DevicesLocationsController
Access to devices_locations controller.
114 115 116 |
# File 'lib/verizon/client.rb', line 114 def devices_locations @devices_locations ||= DevicesLocationsController.new @global_configuration end |
#diagnostics_callbacks ⇒ DiagnosticsCallbacksController
Access to diagnostics_callbacks controller.
312 313 314 |
# File 'lib/verizon/client.rb', line 312 def diagnostics_callbacks @diagnostics_callbacks ||= DiagnosticsCallbacksController.new @global_configuration end |
#diagnostics_factory_reset ⇒ DiagnosticsFactoryResetController
Access to diagnostics_factory_reset controller.
318 319 320 |
# File 'lib/verizon/client.rb', line 318 def diagnostics_factory_reset @diagnostics_factory_reset ||= DiagnosticsFactoryResetController.new @global_configuration end |
#diagnostics_history ⇒ DiagnosticsHistoryController
Access to diagnostics_history controller.
300 301 302 |
# File 'lib/verizon/client.rb', line 300 def diagnostics_history @diagnostics_history ||= DiagnosticsHistoryController.new @global_configuration end |
#diagnostics_observations ⇒ DiagnosticsObservationsController
Access to diagnostics_observations controller.
294 295 296 |
# File 'lib/verizon/client.rb', line 294 def diagnostics_observations @diagnostics_observations ||= DiagnosticsObservationsController.new @global_configuration end |
#diagnostics_settings ⇒ DiagnosticsSettingsController
Access to diagnostics_settings controller.
306 307 308 |
# File 'lib/verizon/client.rb', line 306 def diagnostics_settings @diagnostics_settings ||= DiagnosticsSettingsController.new @global_configuration end |
#diagnostics_subscriptions ⇒ DiagnosticsSubscriptionsController
Access to diagnostics_subscriptions controller.
288 289 290 |
# File 'lib/verizon/client.rb', line 288 def diagnostics_subscriptions @diagnostics_subscriptions ||= DiagnosticsSubscriptionsController.new @global_configuration end |
#e_uicc_device_profile_management ⇒ EUICCDeviceProfileManagementController
Access to e_uicc_device_profile_management controller.
108 109 110 |
# File 'lib/verizon/client.rb', line 108 def e_uicc_device_profile_management @e_uicc_device_profile_management ||= EUICCDeviceProfileManagementController.new @global_configuration end |
#exclusions ⇒ ExclusionsController
Access to exclusions controller.
120 121 122 |
# File 'lib/verizon/client.rb', line 120 def exclusions @exclusions ||= ExclusionsController.new @global_configuration end |
#firmware_v1 ⇒ FirmwareV1Controller
Access to firmware_v1 controller.
162 163 164 |
# File 'lib/verizon/client.rb', line 162 def firmware_v1 @firmware_v1 ||= FirmwareV1Controller.new @global_configuration end |
#firmware_v3 ⇒ FirmwareV3Controller
Access to firmware_v3 controller.
252 253 254 |
# File 'lib/verizon/client.rb', line 252 def firmware_v3 @firmware_v3 ||= FirmwareV3Controller.new @global_configuration end |
#fixed_wireless_qualification ⇒ FixedWirelessQualificationController
Access to fixed_wireless_qualification controller.
384 385 386 |
# File 'lib/verizon/client.rb', line 384 def fixed_wireless_qualification @fixed_wireless_qualification ||= FixedWirelessQualificationController.new @global_configuration end |
#global_reporting ⇒ GlobalReportingController
Access to global_reporting controller.
444 445 446 |
# File 'lib/verizon/client.rb', line 444 def global_reporting @global_reporting ||= GlobalReportingController.new @global_configuration end |
#hyper_precise_location_callbacks ⇒ HyperPreciseLocationCallbacksController
Access to hyper_precise_location_callbacks controller.
354 355 356 |
# File 'lib/verizon/client.rb', line 354 def hyper_precise_location_callbacks @hyper_precise_location_callbacks ||= HyperPreciseLocationCallbacksController.new @global_configuration end |
#initialize_auth_managers(global_config) ⇒ Object
Initializes the auth managers hash used for authenticating API calls.
491 492 493 494 495 496 497 498 499 |
# File 'lib/verizon/client.rb', line 491 def initialize_auth_managers(global_config) @auth_managers = {} http_client_config = global_config.client_configuration %w[oAuth2 thingspace_oauth].each { |auth| @auth_managers[auth] = nil } @auth_managers['oAuth2'] = Oauth2.new(http_client_config.oauth_2credentials, global_config) @auth_managers['thingspace_oauth'] = ThingspaceOauth.new( http_client_config.thingspace_oauth_credentials, global_config ) end |
#m_5g_edge_platforms ⇒ M5gEdgePlatformsController
Access to m_5g_edge_platforms controller.
24 25 26 |
# File 'lib/verizon/client.rb', line 24 def m_5g_edge_platforms @m_5g_edge_platforms ||= M5gEdgePlatformsController.new @global_configuration end |
#managing_e_sim_profiles ⇒ ManagingESIMProfilesController
Access to managing_e_sim_profiles controller.
390 391 392 |
# File 'lib/verizon/client.rb', line 390 def managing_e_sim_profiles @managing_e_sim_profiles ||= ManagingESIMProfilesController.new @global_configuration end |
#mec ⇒ MECController
Access to mec controller.
414 415 416 |
# File 'lib/verizon/client.rb', line 414 def mec @mec ||= MECController.new @global_configuration end |
#oauth_2 ⇒ Object
Returns the configured authentication oAuth2 instance.
13 14 15 |
# File 'lib/verizon/client.rb', line 13 def oauth_2 @auth_managers['oAuth2'] end |
#oauth_authorization ⇒ OauthAuthorizationController
Access to oauth_authorization controller.
450 451 452 |
# File 'lib/verizon/client.rb', line 450 def @oauth_authorization ||= OauthAuthorizationController.new @global_configuration end |
#performance_metrics ⇒ PerformanceMetricsController
Access to performance_metrics controller.
282 283 284 |
# File 'lib/verizon/client.rb', line 282 def performance_metrics @performance_metrics ||= PerformanceMetricsController.new @global_configuration end |
#promotion_period_information ⇒ PromotionPeriodInformationController
Access to promotion_period_information controller.
420 421 422 |
# File 'lib/verizon/client.rb', line 420 def promotion_period_information @promotion_period_information ||= PromotionPeriodInformationController.new @global_configuration end |
#retrieve_the_triggers ⇒ RetrieveTheTriggersController
Access to retrieve_the_triggers controller.
426 427 428 |
# File 'lib/verizon/client.rb', line 426 def retrieve_the_triggers @retrieve_the_triggers ||= RetrieveTheTriggersController.new @global_configuration end |
#server_logging ⇒ ServerLoggingController
Access to server_logging controller.
216 217 218 |
# File 'lib/verizon/client.rb', line 216 def server_logging @server_logging ||= ServerLoggingController.new @global_configuration end |
#service_endpoints ⇒ ServiceEndpointsController
Access to service_endpoints controller.
30 31 32 |
# File 'lib/verizon/client.rb', line 30 def service_endpoints @service_endpoints ||= ServiceEndpointsController.new @global_configuration end |
#service_plans ⇒ ServicePlansController
Access to service_plans controller.
84 85 86 |
# File 'lib/verizon/client.rb', line 84 def service_plans @service_plans ||= ServicePlansController.new @global_configuration end |
#service_profiles ⇒ ServiceProfilesController
Access to service_profiles controller.
36 37 38 |
# File 'lib/verizon/client.rb', line 36 def service_profiles @service_profiles ||= ServiceProfilesController.new @global_configuration end |
#session_management ⇒ SessionManagementController
Access to session_management controller.
66 67 68 |
# File 'lib/verizon/client.rb', line 66 def session_management @session_management ||= SessionManagementController.new @global_configuration end |
#sim_actions ⇒ SIMActionsController
Access to sim_actions controller.
438 439 440 |
# File 'lib/verizon/client.rb', line 438 def sim_actions @sim_actions ||= SIMActionsController.new @global_configuration end |
#sim_secure_for_io_t_licenses ⇒ SIMSecureForIoTLicensesController
Access to sim_secure_for_io_t_licenses controller.
270 271 272 |
# File 'lib/verizon/client.rb', line 270 def sim_secure_for_io_t_licenses @sim_secure_for_io_t_licenses ||= SIMSecureForIoTLicensesController.new @global_configuration end |
#sms ⇒ SMSController
Access to sms controller.
60 61 62 |
# File 'lib/verizon/client.rb', line 60 def sms @sms ||= SMSController.new @global_configuration end |
#software_management_callbacks_v1 ⇒ SoftwareManagementCallbacksV1Controller
Access to software_management_callbacks_v1 controller.
168 169 170 |
# File 'lib/verizon/client.rb', line 168 def software_management_callbacks_v1 @software_management_callbacks_v1 ||= SoftwareManagementCallbacksV1Controller.new @global_configuration end |
#software_management_callbacks_v2 ⇒ SoftwareManagementCallbacksV2Controller
Access to software_management_callbacks_v2 controller.
198 199 200 |
# File 'lib/verizon/client.rb', line 198 def software_management_callbacks_v2 @software_management_callbacks_v2 ||= SoftwareManagementCallbacksV2Controller.new @global_configuration end |
#software_management_callbacks_v3 ⇒ SoftwareManagementCallbacksV3Controller
Access to software_management_callbacks_v3 controller.
264 265 266 |
# File 'lib/verizon/client.rb', line 264 def software_management_callbacks_v3 @software_management_callbacks_v3 ||= SoftwareManagementCallbacksV3Controller.new @global_configuration end |
#software_management_licenses_v1 ⇒ SoftwareManagementLicensesV1Controller
Access to software_management_licenses_v1 controller.
156 157 158 |
# File 'lib/verizon/client.rb', line 156 def software_management_licenses_v1 @software_management_licenses_v1 ||= SoftwareManagementLicensesV1Controller.new @global_configuration end |
#software_management_licenses_v2 ⇒ SoftwareManagementLicensesV2Controller
Access to software_management_licenses_v2 controller.
186 187 188 |
# File 'lib/verizon/client.rb', line 186 def software_management_licenses_v2 @software_management_licenses_v2 ||= SoftwareManagementLicensesV2Controller.new @global_configuration end |
#software_management_licenses_v3 ⇒ SoftwareManagementLicensesV3Controller
Access to software_management_licenses_v3 controller.
234 235 236 |
# File 'lib/verizon/client.rb', line 234 def software_management_licenses_v3 @software_management_licenses_v3 ||= SoftwareManagementLicensesV3Controller.new @global_configuration end |
#software_management_reports_v1 ⇒ SoftwareManagementReportsV1Controller
Access to software_management_reports_v1 controller.
174 175 176 |
# File 'lib/verizon/client.rb', line 174 def software_management_reports_v1 @software_management_reports_v1 ||= SoftwareManagementReportsV1Controller.new @global_configuration end |
#software_management_reports_v2 ⇒ SoftwareManagementReportsV2Controller
Access to software_management_reports_v2 controller.
204 205 206 |
# File 'lib/verizon/client.rb', line 204 def software_management_reports_v2 @software_management_reports_v2 ||= SoftwareManagementReportsV2Controller.new @global_configuration end |
#software_management_reports_v3 ⇒ SoftwareManagementReportsV3Controller
Access to software_management_reports_v3 controller.
246 247 248 |
# File 'lib/verizon/client.rb', line 246 def software_management_reports_v3 @software_management_reports_v3 ||= SoftwareManagementReportsV3Controller.new @global_configuration end |
#software_management_subscriptions_v1 ⇒ SoftwareManagementSubscriptionsV1Controller
Access to software_management_subscriptions_v1 controller.
150 151 152 |
# File 'lib/verizon/client.rb', line 150 def software_management_subscriptions_v1 @software_management_subscriptions_v1 ||= SoftwareManagementSubscriptionsV1Controller.new @global_configuration end |
#software_management_subscriptions_v2 ⇒ SoftwareManagementSubscriptionsV2Controller
Access to software_management_subscriptions_v2 controller.
180 181 182 |
# File 'lib/verizon/client.rb', line 180 def software_management_subscriptions_v2 @software_management_subscriptions_v2 ||= SoftwareManagementSubscriptionsV2Controller.new @global_configuration end |
#software_management_subscriptions_v3 ⇒ SoftwareManagementSubscriptionsV3Controller
Access to software_management_subscriptions_v3 controller.
228 229 230 |
# File 'lib/verizon/client.rb', line 228 def software_management_subscriptions_v3 @software_management_subscriptions_v3 ||= SoftwareManagementSubscriptionsV3Controller.new @global_configuration end |
#targets ⇒ TargetsController
Access to targets controller.
324 325 326 |
# File 'lib/verizon/client.rb', line 324 def targets @targets ||= TargetsController.new @global_configuration end |
#thing_space_quality_of_service_api_actions ⇒ ThingSpaceQualityOfServiceAPIActionsController
Access to thing_space_quality_of_service_api_actions controller.
408 409 410 |
# File 'lib/verizon/client.rb', line 408 def thing_space_quality_of_service_api_actions @thing_space_quality_of_service_api_actions ||= ThingSpaceQualityOfServiceAPIActionsController.new @global_configuration end |
#thingspace_oauth ⇒ Object
Returns the configured authentication thingspace_oauth instance.
18 19 20 |
# File 'lib/verizon/client.rb', line 18 def thingspace_oauth @auth_managers['thingspace_oauth'] end |
#update_triggers ⇒ UpdateTriggersController
Access to update_triggers controller.
432 433 434 |
# File 'lib/verizon/client.rb', line 432 def update_triggers @update_triggers ||= UpdateTriggersController.new @global_configuration end |
#usage_trigger_management ⇒ UsageTriggerManagementController
Access to usage_trigger_management controller.
138 139 140 |
# File 'lib/verizon/client.rb', line 138 def usage_trigger_management @usage_trigger_management ||= UsageTriggerManagementController.new @global_configuration end |
#wireless_network_performance ⇒ WirelessNetworkPerformanceController
Access to wireless_network_performance controller.
378 379 380 |
# File 'lib/verizon/client.rb', line 378 def wireless_network_performance @wireless_network_performance ||= WirelessNetworkPerformanceController.new @global_configuration end |