Class: WebHookDefinition
- Inherits:
-
Object
- Object
- WebHookDefinition
- Defined in:
- lib/definitions/web_hook_definition.rb
Overview
web hook definition as generated by DSL
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#method ⇒ Object
Returns the value of attribute method.
-
#start ⇒ Object
Returns the value of attribute start.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/definitions/web_hook_definition.rb', line 5 def id @id end |
#method ⇒ Object
Returns the value of attribute method.
5 6 7 |
# File 'lib/definitions/web_hook_definition.rb', line 5 def method @method end |
#start ⇒ Object
Returns the value of attribute start.
5 6 7 |
# File 'lib/definitions/web_hook_definition.rb', line 5 def start @start end |
Instance Method Details
#to_hash ⇒ Object
7 8 9 10 11 12 |
# File 'lib/definitions/web_hook_definition.rb', line 7 def to_hash { id: @id, method: @method } end |