Class: Mass::InboxCheck
- Inherits:
-
BlackStack::Base
- Object
- BlackStack::Base
- Mass::InboxCheck
- Defined in:
- lib/base-line/inboxcheck.rb
Instance Attribute Summary collapse
-
#profile ⇒ Object
Returns the value of attribute profile.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(h) ⇒ InboxCheck
constructor
A new instance of InboxCheck.
Constructor Details
#initialize(h) ⇒ InboxCheck
Returns a new instance of InboxCheck.
9 10 11 12 |
# File 'lib/base-line/inboxcheck.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/inboxcheck.rb', line 3 def profile @profile end |
Class Method Details
.object_name ⇒ Object
5 6 7 |
# File 'lib/base-line/inboxcheck.rb', line 5 def self.object_name 'inboxcheck' end |