module GlobeSSL

Constants

COUNTRY_CODES

This list is derived from en.wikipedia.org/wiki/ISO_3166-1_alpha-2. The hash keys are ISO_3166-1_alpha-2 codes and the values are the country display name. The top 20 countries by number of Internet users are grouped first, see en.wikipedia.org/wiki/List_of_countries_by_number_of_Internet_users.

Public Class Methods

configuration() click to toggle source
# File lib/globessl.rb, line 26
def self.configuration
  @@configuration || configure
end
configure() { |configuration| ... } click to toggle source
# File lib/globessl.rb, line 20
def self.configure
  @@configuration = Configuration.new
  yield(configuration) if block_given?
  configuration
end
method_missing(method_sym, *arguments, &block) click to toggle source
Calls superclass method
# File lib/globessl.rb, line 30
def self.method_missing(method_sym, *arguments, &block)
  if configuration.respond_to?(method_sym)
    configuration.send(method_sym)
  else
    super
  end
end
respond_to?(method_sym, include_private = false) click to toggle source
Calls superclass method
# File lib/globessl.rb, line 38
def self.respond_to?(method_sym, include_private = false)
  if configuration.respond_to?(method_sym, include_private)
    true
  else
    super
  end    
end