Class: ApnMachine::Server::Response
- Inherits:
-
Object
- Object
- ApnMachine::Server::Response
- Defined in:
- lib/apnmachine/server/response.rb
Instance Method Summary collapse
-
#initialize(notification) ⇒ Response
constructor
A new instance of Response.
- #to_s ⇒ Object
Constructor Details
#initialize(notification) ⇒ Response
Returns a new instance of Response.
4 5 6 |
# File 'lib/apnmachine/server/response.rb', line 4 def initialize(notification) @notification = notification end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/apnmachine/server/response.rb', line 8 def to_s "TOKEN=#{@notification.token}" end |