Class: AnedotWebhooks::Event
- Inherits:
-
Data
- Object
- Data
- AnedotWebhooks::Event
- Defined in:
- lib/anedot_webhooks/event.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
4 5 6 |
# File 'lib/anedot_webhooks/event.rb', line 4 def name @name end |
#payload ⇒ Object (readonly)
Returns the value of attribute payload
4 5 6 |
# File 'lib/anedot_webhooks/event.rb', line 4 def payload @payload end |
Instance Method Details
#notification_name ⇒ Object
5 6 7 |
# File 'lib/anedot_webhooks/event.rb', line 5 def notification_name "anedot_webhooks.#{name}" end |