Installation
gem install khipu-chaski-api-client
Usage
Basic configuration
require 'khipu-chaski-api-client'
KhipuChaski.configure do |c|
c.secret = 'abc123'
c.receiver_id = 1234
end
Basic usage
Send push message
api = KhipuChaski::PushNotificationsApi.new()
response = api.(KhipuChaski::Message.new({"recipientIdSet" => ["recipient1"], "subject" => "subject", "body" => "Hello!!"}))
print response