module UrlShortner

Constants

VERSION

Attributes

base_url[RW]
unique_key_length[RW]

Public Class Methods

configure() { |self| ... } click to toggle source
# File lib/url_shortner.rb, line 16
def self.configure
  yield self if block_given?
end

Public Instance Methods

unique_key_length() click to toggle source
# File lib/url_shortner.rb, line 12
def unique_key_length
  @unique_key_length || 6
end