Class: FantasticRobot::Request::SetWebhook
- Defined in:
- lib/fantastic_robot/request/set_webhook.rb
Overview
This object represents a setWebhook request
Instance Attribute Summary collapse
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SetWebhook
constructor
A new instance of SetWebhook.
Methods inherited from Base
#attributes, #send_request, #to_h
Constructor Details
#initialize(attributes = {}) ⇒ SetWebhook
Returns a new instance of SetWebhook.
10 11 12 13 |
# File 'lib/fantastic_robot/request/set_webhook.rb', line 10 def initialize(attributes = {}) super(attributes) @method = :setWebhook end |
Instance Attribute Details
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/fantastic_robot/request/set_webhook.rb', line 5 def url @url end |