Class: API::Entities::Hook
- Inherits:
-
Grape::Entity
- Object
- Grape::Entity
- API::Entities::Hook
- Defined in:
- lib/api/entities/hook.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#custom_headers ⇒ Object
34 35 36 |
# File 'lib/api/entities/hook.rb', line 34 def custom_headers object.custom_headers.keys.map { { key: _1 } } end |
#url_variables ⇒ Object
30 31 32 |
# File 'lib/api/entities/hook.rb', line 30 def url_variables object.url_variables.keys.map { { key: _1 } } end |