Sha256: 1a81c95cc5420bb09c0c7054ef5c91d8eb40edcdf7beabb7eb488802cfe3bb2c
Contents?: true
Size: 399 Bytes
Versions: 11
Compression:
Stored size: 399 Bytes
Contents
module AbsorbApi class Configuration attr_accessor :url, :absorbuser, :absorbpass, :absorbkey, :ignored_lesson_types, :ignored_course_ids end class << self attr_accessor :configuration end def self.configuration @configuration ||= Configuration.new end def self.reset @configuration = Configuration.new end def self.configure yield(configuration) end end
Version data entries
11 entries across 11 versions & 1 rubygems