Sha256: 318d1162aed6f1d2bb408fcfec361a11a2afdeffb2391eff3c6abf50f9e60cee
Contents?: true
Size: 301 Bytes
Versions: 2
Compression:
Stored size: 301 Bytes
Contents
module Medlink class Configuration attr_accessor :site, :token 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
medlink-0.2.1 | lib/medlink/configuration.rb |
medlink-0.2.0 | lib/medlink/configuration.rb |