Sha256: fe2aca262e68b3d2011aeff867e3f42e707afc2634360fc570636eb53dc7fe50

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

require "thinkific_ruby/version"
require "faraday"
require "json"
require "pry-byebug"

require "thinkific_ruby/api_error.rb"
require "thinkific_ruby/configuration_error.rb"
require "thinkific_ruby/input_error.rb"

require "thinkific_ruby/connection.rb"
require "thinkific_ruby/resource_helper.rb"
require "thinkific_ruby/course_review.rb"

module ThinkificRuby
  class << self
    attr_accessor :configuration

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

  class Configuration
    attr_accessor :api_key, :subdomain

    def initialize
      @api_key = nil
      @subdomain = nil
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thinkific_ruby_test-0.1.0 lib/thinkific_ruby.rb