Class: Domain

Inherits:
Object
  • Object
show all
Defined in:
lib/domain-finder/domain.rb

Overview

Simple class for checking the availability of domains (abstracts specific website in use so API doesn’t change if we switch websites)

Class Method Summary collapse

Class Method Details

.available?(*domains) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/domain-finder/domain.rb', line 5

def self.available? *domains
  Moniker.find_available *domains
end