module Pushover
pushover interface for ruby
Constants
- Excon
excon connection to use for every request.
- HEADERS
headers to include in every request.
- Message
Message
is a struct to send a message to pushover. @!attribute [rw] token@return [String] application token
@!attribute [rw] user
@return [String] user key
@!attribute [rw] message
@return [String] message to transmit
@!attribute [rw] device
@return [String] device to transmit too
@!attribute [rw] title
@return [String] title of the message
@!attribute [rw] url
@return [String] supplementary url
@!attribute [rw] url_title
@return [String] title of the supplementary url
@!attribute [rw] priority
@return [Numeric] numeric value for priority.
@!attribute [rw] sound
@return [String] sound to play
@!attribute [rw] timestamp
@return [Numeric] timestamp to expire, in epoch
@!attribute [rw] expire
@return [Numeric] expire time until message expires
@!attribute [rw] retry
@return [Numeric] how long to retry for, in seconds
@!attribute [rw] callback
@return [String] callback url
- Receipt
Receipt
is a struct to interface with the receipt endpoint. @!attribute [rw] receipt@return [String] id of the receipt to request
@!attribute [rw] token
@return [String] application token to check for a receipt
- Response
Response
encapsulates the response back from pushover. Class to wrap the user and basic functions related to it. @attribute status@return [Numeric] status of the response
@attribute request
@return [String] request is a UUID representing the specific call
@attribute errors
@return [Array] errors includes any errors made
@attribute receipt
@return [String] receipt returns a receipt if requested
@attribute headers
@return [Hash] headers is the headers returned from the call.
@attribute attributes
@return [String] any extra k/v pairs from the server.
- VERSION