module Veezi

Constants

VERSION

Public Class Methods

client() click to toggle source
# File lib/veezi.rb, line 27
def client
  @client = Veezi::Client.new
end
configuration() click to toggle source
# File lib/veezi.rb, line 23
def configuration
  @configuration ||= Veezi::Configuration.new
end
configure(config = nil) { |configuration| ... } click to toggle source
# File lib/veezi.rb, line 13
def configure(config = nil)
  if config
    config.each do |k,v|
      configuration.send("#{k}=", v) rescue nil if configuration.respond_to?("#{k}=")
    end
  end

  yield(configuration) if block_given?
end