Class: API::Entities::Hook

Inherits:
Grape::Entity
  • Object
show all
Defined in:
lib/api/entities/hook.rb

Direct Known Subclasses

ProjectHook

Instance Method Summary collapse

Instance Method Details

#url_variablesObject



19
20
21
# File 'lib/api/entities/hook.rb', line 19

def url_variables
  object.url_variables.keys.map { { key: _1 } }
end