module Turnstile

Constants

DEFAULT_PORT
DESCRIPTION
GEM_DESCRIPTION
NS
VERSION

Attributes

debug[RW]

Public Class Methods

config() click to toggle source
# File lib/turnstile.rb, line 30
def config
  @configuration ||= create_config
end
configure(&block) click to toggle source
# File lib/turnstile.rb, line 26
def configure(&block)
  @configuration = create_config.configure(&block)
end
debug?() click to toggle source
# File lib/turnstile.rb, line 22
def debug?
  self.debug
end

Private Class Methods

create_config() click to toggle source
# File lib/turnstile.rb, line 36
def create_config
  ::Turnstile::Configuration.new
end