Class: Gitlab::Triage::NetworkAdapters::BaseAdapter
- Inherits:
-
Object
- Object
- Gitlab::Triage::NetworkAdapters::BaseAdapter
- Defined in:
- lib/gitlab/triage/network_adapters/base_adapter.rb
Direct Known Subclasses
Constant Summary collapse
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#tracker ⇒ Object
readonly
Returns the value of attribute tracker.
Instance Method Summary collapse
-
#initialize(options, tracker: nil) ⇒ BaseAdapter
constructor
A new instance of BaseAdapter.
Constructor Details
#initialize(options, tracker: nil) ⇒ BaseAdapter
Returns a new instance of BaseAdapter.
13 14 15 16 |
# File 'lib/gitlab/triage/network_adapters/base_adapter.rb', line 13 def initialize(, tracker: nil) @options = @tracker = tracker end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
11 12 13 |
# File 'lib/gitlab/triage/network_adapters/base_adapter.rb', line 11 def @options end |
#tracker ⇒ Object (readonly)
Returns the value of attribute tracker.
11 12 13 |
# File 'lib/gitlab/triage/network_adapters/base_adapter.rb', line 11 def tracker @tracker end |