Module: Katello::Glue
- Included in:
- ActivationKey, ContentViewEnvironment, ContentViewPuppetEnvironment, Job, Product, Provider, Repository, SyncPlan, System
- Defined in:
- app/models/katello/glue.rb,
app/lib/katello/glue/task.rb,
app/lib/katello/glue/queue.rb,
app/models/katello/glue/pulp/pulp_errors.rb
Defined Under Namespace
Modules: InstanceMethods, Provider, Pulp
Classes: Queue, Task
Class Method Summary
collapse
Class Method Details
.included(base) ⇒ Object
8
9
10
11
12
13
14
15
16
17
18
|
# File 'app/models/katello/glue.rb', line 8
def self.included(base)
base.send :include, InstanceMethods
base.class_eval do
attr_reader :old
before_validation :setup_clone
around_save :on_save
around_destroy :on_destroy
end
end
|
.logger ⇒ Object
4
5
6
|
# File 'app/models/katello/glue.rb', line 4
def self.logger
@logger ||= ::Foreman::Logging.logger('katello/glue')
end
|