Class: ForemanMco::Command::Filter

Inherits:
Object
  • Object
show all
Defined in:
app/models/foreman_mco/command/filter.rb

Class Method Summary collapse

Class Method Details

.class_filter(val) ⇒ Object



7
8
9
# File 'app/models/foreman_mco/command/filter.rb', line 7

def self.class_filter(val)
  {:class => val}
end

.fact_filter(val) ⇒ Object



11
12
13
# File 'app/models/foreman_mco/command/filter.rb', line 11

def self.fact_filter(val)
  {:fact => val}
end

.identity_filter(val) ⇒ Object



3
4
5
# File 'app/models/foreman_mco/command/filter.rb', line 3

def self.identity_filter(val)
  {:identity => val}
end