Class: CheckTaskr::JobsAction

Inherits:
Object
  • Object
show all
Defined in:
lib/check-taskr/base.rb

Constant Summary collapse

@@default_error_code =
nil
@@default_error_msg =
nil

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/check-taskr/base.rb', line 7

def name
  @name
end

Class Method Details

.setup(options = {}) ⇒ Object



11
12
13
14
# File 'lib/check-taskr/base.rb', line 11

def self.setup(options={})
  @@default_error_code = options[:default_error_code]
  @@default_error_msg = options[:default_error_msg]
end