Sha256: 8acb4b4ef64ba467727db43d1c55fcca85741af3efc5c06e41b1503b5d095c40
Contents?: true
Size: 302 Bytes
Versions: 1
Compression:
Stored size: 302 Bytes
Contents
module Pushover class Request include Creatable def push(endpoint, config = {}) excon_response = Api.connection.post path: "1/#{endpoint}.json", query: config response = Response.create original: excon_response response.process @response = response end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pushover-2.0.0 | lib/pushover/request.rb |