Class: Gitlab::HookData::BaseBuilder
- Inherits:
-
Object
- Object
- Gitlab::HookData::BaseBuilder
- Defined in:
- lib/gitlab/hook_data/base_builder.rb
Direct Known Subclasses
EmojiBuilder, GroupBuilder, GroupMemberBuilder, IssueBuilder, KeyBuilder, MergeRequestBuilder, NoteBuilder, ProjectBuilder, ProjectMemberBuilder, ReleaseBuilder, ResourceAccessTokenBuilder, UserBuilder, WikiPageBuilder
Constant Summary collapse
- MARKDOWN_SIMPLE_IMAGE =
"#{::Gitlab::Regex.markdown_code_or_html_blocks_untrusted}" \ '|' \ '(?P<image>' \ '!' \ '\[(?P<title>[^\n]*?)\]' \ '\((?P<url>(?P<https>(https?://|//)?)[^\n]+?)\)' \ ')'.freeze
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object) ⇒ BaseBuilder
constructor
A new instance of BaseBuilder.
Constructor Details
#initialize(object) ⇒ BaseBuilder
Returns a new instance of BaseBuilder.
17 18 19 |
# File 'lib/gitlab/hook_data/base_builder.rb', line 17 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
6 7 8 |
# File 'lib/gitlab/hook_data/base_builder.rb', line 6 def object @object end |