lib/pushover/message.rb
# push the configured message to pushover.
#   @return [Response] response for the receipt request
push the configured message to pushover.
push the configured message to pushover .
def push
      %i[token user message].each { |param| raise "#{param} must be supplied" unless send param }
      Response.create_from_excon_response Excon.post(path: '1/messages.json', query: to_h)
    end
def push %i[ token user message ] . each { | param | raise "#{param} must be supplied" unless send param } Response . create_from_excon_response Excon . post ( path : '1/messages.json' , query : to_h ) end
push the configured message to pushover.
push the configured message to pushover .
response for the receipt request
response for the receipt request
Response