Class: Mass::ConnectionCheck
- Inherits:
-
BlackStack::Base
- Object
- BlackStack::Base
- Mass::ConnectionCheck
- Defined in:
- lib/base-line/connectioncheck.rb
Instance Attribute Summary collapse
-
#profile ⇒ Object
Returns the value of attribute profile.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(h) ⇒ ConnectionCheck
constructor
A new instance of ConnectionCheck.
Constructor Details
#initialize(h) ⇒ ConnectionCheck
Returns a new instance of ConnectionCheck.
9 10 11 12 |
# File 'lib/base-line/connectioncheck.rb', line 9 def initialize(h) super(h) self.profile = Mass::Profile.get(h['id_profile']).child_class_instance if h['id_profile'] end |
Instance Attribute Details
#profile ⇒ Object
Returns the value of attribute profile.
3 4 5 |
# File 'lib/base-line/connectioncheck.rb', line 3 def profile @profile end |
Class Method Details
.object_name ⇒ Object
5 6 7 |
# File 'lib/base-line/connectioncheck.rb', line 5 def self.object_name 'connectioncheck' end |