Class: Esteem::Alias

Inherits:
Object
  • Object
show all
Defined in:
lib/esteem/alias.rb

Constant Summary collapse

PREFIXES =
%w[
  logs-atop
  logs-denim    logs-denim-capture
  logs-rivet    logs-rivet-500
  logs-seam     logs-seam-access     logs-seam-newrelic
  logs-cobalt   logs-cobalt-access   logs-cobalt-newrelic
  logs-carder
  logs-franz
  logs-rollway-skinny logs-rollway-acid
  logs-openstack logs-openstack-nova logs-openstack-cinder
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(month:, year:, host:) ⇒ Alias

Returns a new instance of Alias.



21
22
23
24
25
26
27
28
# File 'lib/esteem/alias.rb', line 21

def initialize month:, year:, host:
  @success = false
  begin
    perform month, year, host
    @success = true
  rescue
  end
end

Instance Attribute Details

#successObject (readonly)

Returns the value of attribute success.



6
7
8
# File 'lib/esteem/alias.rb', line 6

def success
  @success
end