lib/j7w1/push_client.rb in j7w1-0.0.10 vs lib/j7w1/push_client.rb in j7w1-0.0.11
- old
+ new
@@ -86,10 +86,10 @@
android_payload_for(message_value)
end
end
def ios_payload_for(message_value)
- prefix = J7W1::Sns.configuration.ios_endpoint.sandbox? ?
+ prefix = J7W1.configuration.ios_endpoint.sandbox? ?
:APNS_SANDBOX : :APNS
{prefix => {aps: message_value}.to_json}
end
def android_payload_for(message_value)