Class: APN::FeedbackItem
- Inherits:
-
Object
- Object
- APN::FeedbackItem
- Defined in:
- lib/apn/feedback.rb
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(time, token) ⇒ FeedbackItem
constructor
A new instance of FeedbackItem.
Constructor Details
#initialize(time, token) ⇒ FeedbackItem
Returns a new instance of FeedbackItem.
5 6 7 8 |
# File 'lib/apn/feedback.rb', line 5 def initialize(time, token) @timestamp = time @token = token end |
Instance Attribute Details
#timestamp ⇒ Object
Returns the value of attribute timestamp.
3 4 5 |
# File 'lib/apn/feedback.rb', line 3 def @timestamp end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/apn/feedback.rb', line 3 def token @token end |