Class: TxghServer::Webhooks::Gitlab::DeleteAttributes
- Inherits:
-
TxghServer::Webhooks::Git::DeleteAttributes
- Object
- TxghServer::Webhooks::Git::DeleteAttributes
- TxghServer::Webhooks::Gitlab::DeleteAttributes
- Defined in:
- lib/txgh-server/webhooks/gitlab/delete_attributes.rb
Constant Summary
Constants inherited from TxghServer::Webhooks::Git::DeleteAttributes
TxghServer::Webhooks::Git::DeleteAttributes::ATTRIBUTES
Class Method Summary collapse
Methods inherited from TxghServer::Webhooks::Git::DeleteAttributes
event, from_webhook_payload, #initialize, ref, #to_h
Constructor Details
This class inherits a constructor from TxghServer::Webhooks::Git::DeleteAttributes
Class Method Details
.ref_type(_payload) ⇒ Object
10 11 12 |
# File 'lib/txgh-server/webhooks/gitlab/delete_attributes.rb', line 10 def ref_type(_payload) 'branch' end |
.repo_name(payload) ⇒ Object
6 7 8 |
# File 'lib/txgh-server/webhooks/gitlab/delete_attributes.rb', line 6 def repo_name(payload) payload.fetch('project', {})['path_with_namespace'] end |