Class: Adapters::CircleCI
- Inherits:
-
Object
- Object
- Adapters::CircleCI
- Defined in:
- lib/ducalis/adapters/circle_ci.rb
Constant Summary collapse
- CODE =
'circleci'.freeze
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(_value) ⇒ CircleCI
constructor
A new instance of CircleCI.
Constructor Details
#initialize(_value) ⇒ CircleCI
Returns a new instance of CircleCI.
11 |
# File 'lib/ducalis/adapters/circle_ci.rb', line 11 def initialize(_value); end |
Class Method Details
.suitable_for?(value) ⇒ Boolean
7 8 9 |
# File 'lib/ducalis/adapters/circle_ci.rb', line 7 def self.suitable_for?(value) value == CODE end |
Instance Method Details
#call ⇒ Object
13 14 15 |
# File 'lib/ducalis/adapters/circle_ci.rb', line 13 def call [repo, id] end |