Class: Adapters::CircleCI

Inherits:
Object
  • Object
show all
Defined in:
lib/ducalis/adapters/circle_ci.rb

Constant Summary collapse

CODE =
'circleci'.freeze

Class Method Summary collapse

Instance Method Summary collapse

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

Returns:

  • (Boolean)


7
8
9
# File 'lib/ducalis/adapters/circle_ci.rb', line 7

def self.suitable_for?(value)
  value == CODE
end

Instance Method Details

#callObject



13
14
15
# File 'lib/ducalis/adapters/circle_ci.rb', line 13

def call
  [repo, id]
end