Sha256: 67d059827cdef72edae0baef4d92b09b43f3954dd634f9e1fbf09d75890b952e

Contents?: true

Size: 482 Bytes

Versions: 5

Compression:

Stored size: 482 Bytes

Contents

require 'gem_config'
require 'lessonly/defaults'

module Lessonly
  include GemConfig::Base

  with_configuration do
    has :root_url,
        classes: String,
        default: ENV['LESSONLY_ROOT_URL'] || 'https://api.lesson.ly/api/v1'

    has :api_key,
        classes: String,
        default: ENV['LESSONLY_API_KEY'] || ''

    has :domain,
        classes: String,
        default: ENV['LESSONLY_DOMAIN'] || ''
  end
end

require 'lessonly/client'
require 'lessonly/resource'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lessonly-ruby-0.1.3 lib/lessonly.rb
lessonly-ruby-0.1.2 lib/lessonly.rb
lessonly-ruby-0.1.1 lib/lessonly.rb
lessonly-ruby-0.1.0 lib/lessonly.rb
lessonly-ruby-0.0.1 lib/lessonly.rb