Class: ApnMachine::Server::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/apnmachine/server/response.rb

Instance Method Summary collapse

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_sObject



8
9
10
# File 'lib/apnmachine/server/response.rb', line 8

def to_s
  "TOKEN=#{@notification.token}"
end