Sha256: dbf5371926091528cdc144373532d6f4b508c8f4e267ac92e73d22112faaed69

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

module Medlink
  class Configuration
    attr_accessor :site

    def initialize
      @site = "http://medlink.planning-de-garde.fr/"
    end
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield(configuration) if block_given?
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
medlink-0.1.0 lib/medlink/configuration.rb