Class: API::Entities::Tag
- Inherits:
-
Grape::Entity
- Object
- Grape::Entity
- API::Entities::Tag
- Includes:
- RequestAwareEntity
- Defined in:
- lib/api/entities/tag.rb
Instance Method Summary collapse
Methods included from RequestAwareEntity
Instance Method Details
#can_read_release? ⇒ Boolean
26 27 28 |
# File 'lib/api/entities/tag.rb', line 26 def can_read_release? can?([:current_user], :read_release, [:project]) end |