Class: APN::FeedbackItem

Inherits:
Object
  • Object
show all
Defined in:
lib/apn/feedback.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#timestampObject

Returns the value of attribute timestamp.



3
4
5
# File 'lib/apn/feedback.rb', line 3

def timestamp
  @timestamp
end

#tokenObject

Returns the value of attribute token.



3
4
5
# File 'lib/apn/feedback.rb', line 3

def token
  @token
end