Class: Nomius::Detector::RubygemsDetector

Inherits:
BaseURLDetector show all
Defined in:
lib/nomius/detector/rubygems_detector.rb

Overview

Check name availability for rubygems.org/

Constant Summary collapse

BASE_URL =
"https://rubygems.org/api/v1/gems"

Constants inherited from BaseURLDetector

BaseURLDetector::STATUS_RESOLVER

Instance Attribute Summary

Attributes inherited from BaseURLDetector

#logger, #name

Instance Method Summary collapse

Methods inherited from BaseURLDetector

#initialize, status, #status

Constructor Details

This class inherits a constructor from Nomius::Detector::BaseURLDetector

Instance Method Details

#detector_nameObject



11
12
13
# File 'lib/nomius/detector/rubygems_detector.rb', line 11

def detector_name
  "RubyGems.org"
end

#detector_short_nameObject



15
16
17
# File 'lib/nomius/detector/rubygems_detector.rb', line 15

def detector_short_name
  "gem"
end