module MatterhornWhymper

MatterhornWhymper ===
MatterhornWhymper ===

Constants

VERSION

————————————————————————– const definitions —

Attributes

configuration[RW]
logger[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/matterhorn_whymper.rb, line 48
def self.configure
  self.configuration ||= Configuration.new
  if defined?(Rails)
    self.logger = Rails.logger
  else
    require 'logger'
    self.logger = Logger.new(STDOUT)
  end
  yield(configuration)    if block_given?
end
info() click to toggle source

———————————————————————————– methodes —

# File lib/matterhorn_whymper.rb, line 43
def self.info
  "Ruby wrapper against the Matterhorn Endpoint API. Version #{MatterhornWhymper::VERSION}"
end