module LuckySubdomain

Included Modules

Defined in:

lucky_subdomain.cr

Constant Summary

HABITAT_SETTINGS = [{decl: tld_length : Int32 = 1, example: nil, validation: nil}] of Nil
IP_HOST_REGEXP = /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/

Taken from https://github.com/rails/rails/blob/afc6abb674b51717dac39ea4d9e2252d7e40d060/actionpack/lib/action_dispatch/http/url.rb#L8

VERSION = "0.1.0"

Class Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.configure(&) #

[View source]
def self.settings #

[View source]

Macro Detail

macro register_subdomain(matcher = true) #

[View source]

Instance Method Detail

def settings #

[View source]
def subdomain : String #

[View source]