ruby_aem 1.1.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,21 @@
1
- =begin
2
- Copyright 2016 Shine Solutions
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- =end
1
+ # Copyright 2016-2017 Shine Solutions
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
16
14
 
17
15
  module RubyAem
18
16
  module Resources
19
17
  # Path class contains API calls related to managing an AEM path.
20
18
  class Path
21
-
22
19
  # Initialise a path.
23
20
  #
24
21
  # @param client RubyAem::Client
@@ -42,7 +39,6 @@ module RubyAem
42
39
 
43
40
  @client.call(self.class, __callee__.to_s, @call_params)
44
41
  end
45
-
46
42
  end
47
43
  end
48
44
  end
@@ -1,24 +1,21 @@
1
- =begin
2
- Copyright 2016 Shine Solutions
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- =end
1
+ # Copyright 2016-2017 Shine Solutions
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
16
14
 
17
15
  module RubyAem
18
16
  module Resources
19
17
  # ReplicationAgent class contains API calls related to managing an AEM replication agent.
20
18
  class ReplicationAgent
21
-
22
19
  # Initialise a replication agent.
23
20
  #
24
21
  # @param client RubyAem::Client
@@ -42,15 +39,19 @@ module RubyAem
42
39
  # - transport_user: username for transport user, default is admin
43
40
  # - transport_password: password for transport user, default is admin
44
41
  # - log_level: error, info, debug, default is error
45
- # - retry_delay: in milliseconds, default is 30000
42
+ # - retry_delay: in milliseconds, default is 30_000
46
43
  # @return RubyAem::Result
47
- def create_update(title, description, dest_base_url,
44
+ def create_update(
45
+ title,
46
+ description,
47
+ dest_base_url,
48
48
  opts = {
49
49
  transport_user: 'admin',
50
50
  transport_password: 'admin',
51
51
  log_level: 'error',
52
- retry_delay: 30000
53
- })
52
+ retry_delay: 30_000
53
+ }
54
+ )
54
55
  @call_params[:title] = title
55
56
  @call_params[:description] = description
56
57
  @call_params[:dest_base_url] = dest_base_url
@@ -61,7 +62,7 @@ module RubyAem
61
62
  # Delete the replication agent.
62
63
  #
63
64
  # @return RubyAem::Result
64
- def delete()
65
+ def delete
65
66
  @client.call(self.class, __callee__.to_s, @call_params)
66
67
  end
67
68
 
@@ -70,10 +71,9 @@ module RubyAem
70
71
  # false otherwise.
71
72
  #
72
73
  # @return RubyAem::Result
73
- def exists()
74
+ def exists
74
75
  @client.call(self.class, __callee__.to_s, @call_params)
75
76
  end
76
-
77
77
  end
78
78
  end
79
79
  end
@@ -1,24 +1,21 @@
1
- =begin
2
- Copyright 2016 Shine Solutions
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- =end
1
+ # Copyright 2016-2017 Shine Solutions
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
16
14
 
17
15
  module RubyAem
18
16
  module Resources
19
17
  # Repository class contains API calls related to managing an AEM repository.
20
18
  class Repository
21
-
22
19
  # Initialise repository.
23
20
  #
24
21
  # @param client RubyAem::Client
@@ -41,7 +38,6 @@ module RubyAem
41
38
  def unblock_writes
42
39
  @client.call(self.class, __callee__.to_s, @call_params)
43
40
  end
44
-
45
41
  end
46
42
  end
47
43
  end
@@ -1,24 +1,21 @@
1
- =begin
2
- Copyright 2016 Shine Solutions
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- =end
1
+ # Copyright 2016-2017 Shine Solutions
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
16
14
 
17
15
  module RubyAem
18
16
  module Resources
19
17
  # ReverseReplicationAgent class contains API calls related to managing an AEM reverse replication agent.
20
18
  class ReverseReplicationAgent
21
-
22
19
  # Initialise a reverse replication agent.
23
20
  #
24
21
  # @param client RubyAem::Client
@@ -42,15 +39,19 @@ module RubyAem
42
39
  # - transport_user: username for transport user, default is admin
43
40
  # - transport_password: password for transport user, default is admin
44
41
  # - log_level: error, info, debug, default is error
45
- # - retry_delay: in milliseconds, default is 30000
42
+ # - retry_delay: in milliseconds, default is 30_000
46
43
  # @return RubyAem::Result
47
- def create_update(title, description, dest_base_url,
44
+ def create_update(
45
+ title,
46
+ description,
47
+ dest_base_url,
48
48
  opts = {
49
49
  transport_user: 'admin',
50
50
  transport_password: 'admin',
51
51
  log_level: 'error',
52
- retry_delay: 30000
53
- })
52
+ retry_delay: 30_000
53
+ }
54
+ )
54
55
  @call_params[:title] = title
55
56
  @call_params[:description] = description
56
57
  @call_params[:dest_base_url] = dest_base_url
@@ -61,7 +62,7 @@ module RubyAem
61
62
  # Delete the reverse replication agent.
62
63
  #
63
64
  # @return RubyAem::Result
64
- def delete()
65
+ def delete
65
66
  @client.call(self.class, __callee__.to_s, @call_params)
66
67
  end
67
68
 
@@ -70,10 +71,9 @@ module RubyAem
70
71
  # false otherwise.
71
72
  #
72
73
  # @return RubyAem::Result
73
- def exists()
74
+ def exists
74
75
  @client.call(self.class, __callee__.to_s, @call_params)
75
76
  end
76
-
77
77
  end
78
78
  end
79
79
  end
@@ -1,24 +1,21 @@
1
- =begin
2
- Copyright 2016 Shine Solutions
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- =end
1
+ # Copyright 2016-2017 Shine Solutions
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
16
14
 
17
15
  module RubyAem
18
16
  module Resources
19
17
  # User class contains API calls related to managing an AEM user.
20
18
  class User
21
-
22
19
  # Initialise a user.
23
20
  #
24
21
  # @param client RubyAem::Client
@@ -39,16 +36,14 @@ module RubyAem
39
36
  # @return RubyAem::Result
40
37
  def create(password)
41
38
  @call_params[:password] = password
42
- if !@call_params[:path].match(/^\//)
43
- @call_params[:path] = "/#{@call_params[:path]}"
44
- end
39
+ @call_params[:path] = "/#{@call_params[:path]}" unless @call_params[:path].match(%r{^/})
45
40
  @client.call(self.class, __callee__.to_s, @call_params)
46
41
  end
47
42
 
48
43
  # Delete the user.
49
44
  #
50
45
  # @return RubyAem::Result
51
- def delete()
46
+ def delete
52
47
  result = find_authorizable_id
53
48
  @call_params[:authorizable_id] = result.data
54
49
  @call_params[:path] = RubyAem::Swagger.path(@call_params[:path])
@@ -60,7 +55,7 @@ module RubyAem
60
55
  # otherwise.
61
56
  #
62
57
  # @return RubyAem::Result
63
- def exists()
58
+ def exists
64
59
  result = find_authorizable_id
65
60
  @call_params[:authorizable_id] = result.data
66
61
  @call_params[:path] = RubyAem::Swagger.path(@call_params[:path])
@@ -106,13 +101,10 @@ module RubyAem
106
101
  # cannot be found.
107
102
  #
108
103
  # @return RubyAem::Result
109
- def find_authorizable_id()
110
- if !@call_params[:path].match(/^\//)
111
- @call_params[:path] = "/#{@call_params[:path]}"
112
- end
104
+ def find_authorizable_id
105
+ @call_params[:path] = "/#{@call_params[:path]}" unless @call_params[:path].match(%r{^/})
113
106
  @client.call(self.class, __callee__.to_s, @call_params)
114
107
  end
115
-
116
108
  end
117
109
  end
118
110
  end
@@ -1,23 +1,20 @@
1
- =begin
2
- Copyright 2016 Shine Solutions
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- =end
1
+ # Copyright 2016-2017 Shine Solutions
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
16
14
 
17
15
  module RubyAem
18
16
  # Response wraps HTTP response data returned by swagger_aem.
19
17
  class Response
20
-
21
18
  attr_accessor :status_code
22
19
  attr_accessor :body
23
20
  attr_accessor :headers
@@ -33,6 +30,5 @@ module RubyAem
33
30
  @body = body
34
31
  @headers = headers
35
32
  end
36
-
37
33
  end
38
34
  end
@@ -1,18 +1,16 @@
1
- =begin
2
- Copyright 2016 Shine Solutions
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- =end
1
+ # Copyright 2016-2017 Shine Solutions
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
16
14
 
17
15
  module RubyAem
18
16
  # Result class represents the result of a client call.
@@ -23,7 +21,6 @@ module RubyAem
23
21
  # e.g. is_* and exists method provide result with boolean data.
24
22
  # Some API calls result doesn't contain any data.
25
23
  class Result
26
-
27
24
  attr_reader :message
28
25
  attr_reader :response
29
26
  attr_accessor :data
@@ -37,6 +34,5 @@ module RubyAem
37
34
  @message = message
38
35
  @response = response
39
36
  end
40
-
41
37
  end
42
38
  end
@@ -1,29 +1,26 @@
1
- =begin
2
- Copyright 2016 Shine Solutions
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- =end
1
+ # Copyright 2016-2017 Shine Solutions
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
16
14
 
17
15
  module RubyAem
18
16
  # Swagger module contains logic related to swagger_aem.
19
17
  module Swagger
20
-
21
18
  # Convert ruby_aem spec's operation (consistent with Swagger spec's operationId)
22
19
  # into swagger_aem's generated method name.
23
20
  #
24
21
  # @param operation operation ID
25
22
  # @return swagger_aem method name
26
- def Swagger.operation_to_method(operation)
23
+ def self.operation_to_method(operation)
27
24
  operation.gsub(/[A-Z]/) { |char|
28
25
  '_' + char.downcase
29
26
  }
@@ -34,11 +31,11 @@ module RubyAem
34
31
  #
35
32
  # @param property property name
36
33
  # @return swagger_aem parameter name
37
- def Swagger.property_to_parameter(property)
38
- if (['alias'].include? property)
34
+ def self.property_to_parameter(property)
35
+ if ['alias'].include? property
39
36
  "_#{property}"
40
37
  else
41
- property.gsub(/\./, '_').gsub(/-/, '_')
38
+ property.tr('.', '_').tr('-', '_')
42
39
  end
43
40
  end
44
41
 
@@ -47,8 +44,8 @@ module RubyAem
47
44
  #
48
45
  # @param path path name
49
46
  # @return sanitised path name
50
- def Swagger.path(path)
51
- path.gsub(/^\//, '').gsub(/\/$/, '')
47
+ def self.path(path)
48
+ path.gsub(%r{^/}, '').gsub(%r{/$}, '')
52
49
  end
53
50
 
54
51
  # Given a config node name, return the corresponding OSGI config name.
@@ -56,7 +53,7 @@ module RubyAem
56
53
  #
57
54
  # @param config_node_name the name of the node for a given config
58
55
  # @return config name
59
- def Swagger.config_node_name_to_config_name(config_node_name)
56
+ def self.config_node_name_to_config_name(config_node_name)
60
57
  case config_node_name
61
58
  when 'org.apache.felix.http'
62
59
  'Apache Felix Jetty Based HTTP Service'
@@ -70,10 +67,7 @@ module RubyAem
70
67
  'AEM Password Reset Activator'
71
68
  when 'com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck'
72
69
  'AEM Health Check Servlet'
73
- else
74
- nil
75
70
  end
76
71
  end
77
-
78
72
  end
79
73
  end
data/lib/ruby_aem.rb CHANGED
@@ -1,18 +1,16 @@
1
- =begin
2
- Copyright 2016 Shine Solutions
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- =end
1
+ # Copyright 2016-2017 Shine Solutions
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
16
14
 
17
15
  require 'ruby_aem/client'
18
16
  require 'ruby_aem/resources/aem'
@@ -34,7 +32,6 @@ require 'yaml'
34
32
  module RubyAem
35
33
  # Aem class represents an AEM client instance.
36
34
  class Aem
37
-
38
35
  # Initialise a Ruby AEM instance.
39
36
  #
40
37
  # @param conf configuration hash of the following configuration values:
@@ -47,7 +44,6 @@ module RubyAem
47
44
  # - debug: if true, then additional debug messages will be included, default: false
48
45
  # @return new RubyAem::Aem instance
49
46
  def initialize(conf = {})
50
-
51
47
  conf[:username] ||= 'admin'
52
48
  conf[:password] ||= 'admin'
53
49
  conf[:protocol] ||= 'http'
@@ -56,21 +52,23 @@ module RubyAem
56
52
  conf[:timeout] ||= 300
57
53
  conf[:debug] ||= false
58
54
 
59
- SwaggerAemClient.configure { |swagger_conf| [
60
- swagger_conf.host = "#{conf[:protocol]}://#{conf[:host]}:#{conf[:port]}",
61
- swagger_conf.username = conf[:username],
62
- swagger_conf.password = conf[:password],
63
- swagger_conf.timeout = conf[:timeout],
64
- swagger_conf.debugging = conf[:debug],
65
- swagger_conf.params_encoding = :multi
66
- ]}
55
+ SwaggerAemClient.configure { |swagger_conf|
56
+ [
57
+ swagger_conf.host = "#{conf[:protocol]}://#{conf[:host]}:#{conf[:port]}",
58
+ swagger_conf.username = conf[:username],
59
+ swagger_conf.password = conf[:password],
60
+ swagger_conf.timeout = conf[:timeout],
61
+ swagger_conf.debugging = conf[:debug],
62
+ swagger_conf.params_encoding = :multi
63
+ ]
64
+ }
67
65
 
68
66
  apis = {
69
- :console => SwaggerAemClient::ConsoleApi.new,
70
- :custom => SwaggerAemClient::CustomApi.new,
71
- :cq => SwaggerAemClient::CqApi.new,
72
- :crx => SwaggerAemClient::CrxApi.new,
73
- :sling => SwaggerAemClient::SlingApi.new
67
+ console: SwaggerAemClient::ConsoleApi.new,
68
+ custom: SwaggerAemClient::CustomApi.new,
69
+ cq: SwaggerAemClient::CqApi.new,
70
+ crx: SwaggerAemClient::CrxApi.new,
71
+ sling: SwaggerAemClient::SlingApi.new
74
72
  }
75
73
 
76
74
  spec = YAML.load_file(File.expand_path('../../conf/spec.yaml', __FILE__))
@@ -81,7 +79,7 @@ module RubyAem
81
79
  # Create an AEM instance.
82
80
  #
83
81
  # @return new RubyAem::Resources::Aem instance
84
- def aem()
82
+ def aem
85
83
  RubyAem::Resources::Aem.new(@client)
86
84
  end
87
85
 
@@ -190,6 +188,5 @@ module RubyAem
190
188
  def user(path, name)
191
189
  RubyAem::Resources::User.new(@client, path, name)
192
190
  end
193
-
194
191
  end
195
192
  end