module Lce

Constants

VERSION

Attributes

client[RW]
configuration[RW]

Public Class Methods

check() click to toggle source
# File lib/lce.rb, line 31
def self.check
  begin
    client.get
  rescue Lce::Client::Errors::LceError => e
    if configuration.raise_lce_errors
      raise e
    else
      configuration.logger.warn(e.to_s)
    end
    return false
  end
end
configure() { |configuration| ... } click to toggle source
# File lib/lce.rb, line 23
def self.configure
  yield(configuration)
end
reset() click to toggle source
# File lib/lce.rb, line 27
def self.reset
  @configuration = Configuration.new
end