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.
23 24 25 26 |
# File 'lib/ruby_aem/resources/repository.rb', line 23 def initialize(client) @client = client @call_params = {} end |
Instance Method Details
#block_writes ⇒ Object
Block repository writes.
31 32 33 |
# File 'lib/ruby_aem/resources/repository.rb', line 31 def block_writes @client.call(self.class, __callee__.to_s, @call_params) end |
#unblock_writes ⇒ Object
Unblock repository writes.
38 39 40 |
# File 'lib/ruby_aem/resources/repository.rb', line 38 def unblock_writes @client.call(self.class, __callee__.to_s, @call_params) end |