Class: Schmersion::Host

Inherits:
Object
  • Object
show all
Defined in:
lib/schmersion/host.rb

Direct Known Subclasses

Schmersion::Hosts::GitHub

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ Host

Returns a new instance of Host.



6
7
8
# File 'lib/schmersion/host.rb', line 6

def initialize(url)
  @url = url
end

Class Method Details

.suitable?(_) ⇒ Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/schmersion/host.rb', line 18

def suitable?(_)
  false
end

Instance Method Details

#url_for_commit(commit_ref) ⇒ Object



10
11
# File 'lib/schmersion/host.rb', line 10

def url_for_commit(commit_ref)
end

#url_for_comparison(ref1, ref2) ⇒ Object



13
14
# File 'lib/schmersion/host.rb', line 13

def url_for_comparison(ref1, ref2)
end