Sha256: 94ad773a6e9a2b88b6bb2c05313f139ff6badff4c995fb03c370e4b0a77b0d02

Contents?: true

Size: 484 Bytes

Versions: 9

Compression:

Stored size: 484 Bytes

Contents

require 'enlight/version'
require 'enlight/requests'
require 'enlight/responses'
require 'enlight/models'

module Enlight
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end

  class Configuration
    attr_accessor :url
    attr_accessor :integration_key
    attr_accessor :organization_id

    def initialize
      @url = 'https://lmsacc.learnondemand.net/api/1.0'
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enlight-0.2.4 lib/enlight.rb
enlight-0.2.3 lib/enlight.rb
enlight-0.2.2 lib/enlight.rb
enlight-0.2.1 lib/enlight.rb
enlight-0.2.0 lib/enlight.rb
enlight-0.1.4 lib/enlight.rb
enlight-0.1.3 lib/enlight.rb
enlight-0.1.2 lib/enlight.rb
enlight-0.1.0 lib/enlight.rb