Class: RubyAem::Resources::Repository
- Inherits:
-
Object
- Object
- RubyAem::Resources::Repository
- Defined in:
- lib/ruby_aem/resources/repository.rb
Overview
Repository class contains API calls related to managing an AEM repository.
Instance Method Summary collapse
-
#block_writes ⇒ Object
Block repository writes.
-
#initialize(client) ⇒ Object
constructor
Initialise repository.
-
#unblock_writes ⇒ Object
Unblock repository writes.
Constructor Details
#initialize(client) ⇒ Object
Initialise repository.
26 27 28 29 |
# File 'lib/ruby_aem/resources/repository.rb', line 26 def initialize(client) @client = client @call_params = {} end |
Instance Method Details
#block_writes ⇒ Object
Block repository writes.
34 35 36 |
# File 'lib/ruby_aem/resources/repository.rb', line 34 def block_writes @client.call(self.class, __callee__.to_s, @call_params) end |
#unblock_writes ⇒ Object
Unblock repository writes.
41 42 43 |
# File 'lib/ruby_aem/resources/repository.rb', line 41 def unblock_writes @client.call(self.class, __callee__.to_s, @call_params) end |