Class: Wellness::Detail Deprecated

Inherits:
Object
  • Object
show all
Defined in:
lib/wellness/detail.rb

Overview

Deprecated.

This is simply here help with migrating

The parent class of all details that need to run.

Author:

  • Matthew A. Johnston (warmwaffles)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Detail

Returns a new instance of Detail.



10
11
12
# File 'lib/wellness/detail.rb', line 10

def initialize(options={})
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



8
9
10
# File 'lib/wellness/detail.rb', line 8

def options
  @options
end

Instance Method Details

#callObject



14
15
16
# File 'lib/wellness/detail.rb', line 14

def call
  self.check
end

#checkHash

Returns:

  • (Hash)


19
20
21
# File 'lib/wellness/detail.rb', line 19

def check
  {}
end