Class: Noticed::BulkDeliveryMethods::Discord

Inherits:
Noticed::BulkDeliveryMethod show all
Defined in:
lib/noticed/bulk_delivery_methods/discord.rb

Instance Attribute Summary

Attributes inherited from Noticed::BulkDeliveryMethod

#config, #event

Instance Method Summary collapse

Methods inherited from Noticed::BulkDeliveryMethod

#evaluate_option, #fetch_constant, #perform

Methods included from ApiClient

#post_request

Instance Method Details

#deliverObject



6
7
8
# File 'lib/noticed/bulk_delivery_methods/discord.rb', line 6

def deliver
  post_request evaluate_option(:url), headers: evaluate_option(:headers), json: evaluate_option(:json)
end