Module: PuppetX::Cups::Queue

Defined in:
lib/puppet_x/cups/queue.rb

Overview

Namespace encapsulating helper functions to query the CUPS server for print queue attributes

Defined Under Namespace

Classes: Attribute

Class Method Summary collapse

Class Method Details

.attribute(queue, property) ⇒ Object


10
11
12
13
14
# File 'lib/puppet_x/cups/queue.rb', line 10

def self.attribute(queue, property)
  attribute = Attribute.new(queue, property)

  attribute.value
end