class Azure::MobileEngagement::Profiles::Latest::Mgmt::MobileEngagementManagementClass
Attributes
app_collections[R]
apps[R]
base_url[R]
campaigns[R]
configurable[R]
devices[R]
export_tasks[R]
import_tasks[R]
model_classes[R]
options[R]
supported_platforms[R]
Public Class Methods
new(options = {})
click to toggle source
# File lib/profiles/latest/modules/mobileengagement_profile_module.rb, line 115 def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @options = setup_default_options else @options = options end reset!(options) @configurable = self @base_url = options[:base_url].nil? ? nil:options[:base_url] @options = options[:options].nil? ? nil:options[:options] @client_0 = Azure::MobileEngagement::Mgmt::V2014_12_01::EngagementManagementClient.new(configurable.credentials, base_url, options) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @app_collections = @client_0.app_collections @apps = @client_0.apps @supported_platforms = @client_0.supported_platforms @campaigns = @client_0.campaigns @devices = @client_0.devices @export_tasks = @client_0.export_tasks @import_tasks = @client_0.import_tasks @model_classes = ModelClasses.new end
Public Instance Methods
add_telemetry(client)
click to toggle source
# File lib/profiles/latest/modules/mobileengagement_profile_module.rb, line 144 def add_telemetry(client) profile_information = 'Profiles/Latest/MobileEngagement/Mgmt' client.add_user_agent_information(profile_information) end
method_missing(method, *args)
click to toggle source
Calls superclass method
# File lib/profiles/latest/modules/mobileengagement_profile_module.rb, line 149 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end