Class: AnedotWebhooks::Event

Inherits:
Data
  • Object
show all
Defined in:
lib/anedot_webhooks/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/anedot_webhooks/event.rb', line 4

def name
  @name
end

#payloadObject (readonly)

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



4
5
6
# File 'lib/anedot_webhooks/event.rb', line 4

def payload
  @payload
end

Instance Method Details

#notification_nameObject



5
6
7
# File 'lib/anedot_webhooks/event.rb', line 5

def notification_name
  "anedot_webhooks.#{name}"
end