Class: RubyAem::Resources::AemConfigMgr

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_aem/resources/aem_configmgr.rb

Overview

AEM class contains API calls related to managing the AEM instance itself.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Object

Initialise an AEM instance.

Parameters:

  • client

    RubyAem::Client



27
28
29
30
31
# File 'lib/ruby_aem/resources/aem_configmgr.rb', line 27

def initialize(client)
  @client = client
  @call_params = {
  }
end

Instance Method Details

#getObject

Connect to AEM /system/console/configMgr to collect all configuration nodes

Returns:

  • RubyAem::Result



37
38
39
# File 'lib/ruby_aem/resources/aem_configmgr.rb', line 37

def get
  @client.call(self.class, __callee__.to_s, @call_params)
end