Sha256: 0b306bc977ae569eaa9954e8456d8f6798ea3ee4d31800c5f5e506184393efa2
Contents?: true
Size: 707 Bytes
Versions: 1
Compression:
Stored size: 707 Bytes
Contents
# frozen_string_literal: true module Pwush module Api module Messages def create_message(*messages) post(:createMessage, notifications: messages.flatten) end alias push create_message def delete_message(message_code) post(:deleteMessage, message: message_code) end def message_details(message) post(:getMessageDetails, message: message) end def message_stats(message) post(:getMsgStats, message: message) end def results(request_id) post(:getResults, request_id: request_id) end def preset(preset_code) post(:getPreset, preset_code: preset_code) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pwush-0.4.0 | lib/pwush/api/messages.rb |