Class: Gitlab::InternalPostReceive::Response::Message
- Inherits:
-
Struct
- Object
- Struct
- Gitlab::InternalPostReceive::Response::Message
- Defined in:
- lib/gitlab/internal_post_receive/response.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
9 10 11 |
# File 'lib/gitlab/internal_post_receive/response.rb', line 9 def @message end |
#type ⇒ Object
Returns the value of attribute type
9 10 11 |
# File 'lib/gitlab/internal_post_receive/response.rb', line 9 def type @type end |
Class Method Details
.alert(text) ⇒ Object
14 15 16 |
# File 'lib/gitlab/internal_post_receive/response.rb', line 14 def self.alert(text) new(text, :alert) end |
.basic(text) ⇒ Object
10 11 12 |
# File 'lib/gitlab/internal_post_receive/response.rb', line 10 def self.basic(text) new(text, :basic) end |