module Mole

Constants

VERSION

Public Class Methods

config() { |config| ... } click to toggle source
# File lib/orwell/mole.rb, line 10
def self.config
  @config ||= Config.new
  yield @config if block_given?
  @config
end

Private Class Methods

client() click to toggle source
# File lib/orwell/mole.rb, line 21
def self.client
  @client ||= Client.new(new_transporter)
end
new_transporter() click to toggle source
# File lib/orwell/mole.rb, line 25
def self.new_transporter
  Transporter.new(config.method)
end