Class: MessageQuickly::Messaging::Entry
- Inherits:
-
Object
- Object
- MessageQuickly::Messaging::Entry
- Defined in:
- lib/message_quickly/messaging/entry.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Entry
constructor
A new instance of Entry.
Constructor Details
#initialize(params = {}) ⇒ Entry
Returns a new instance of Entry.
7 8 9 10 |
# File 'lib/message_quickly/messaging/entry.rb', line 7 def initialize(params = {}) @id = params['id'] @time = params['time'] end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/message_quickly/messaging/entry.rb', line 5 def id @id end |
#time ⇒ Object
Returns the value of attribute time.
5 6 7 |
# File 'lib/message_quickly/messaging/entry.rb', line 5 def time @time end |