Sha256: 46262cd834745daad47d426d4b7f2f257da0c268970b409afd62762c53bd47ed

Contents?: true

Size: 932 Bytes

Versions: 2

Compression:

Stored size: 932 Bytes

Contents

require 'json'
require 'typhoeus'

require 'ravelry/configuration'

require 'ravelry/utils/build'
require 'ravelry/utils/request'
require 'ravelry/utils/utilities'

require 'ravelry/author'
require 'ravelry/category'
require 'ravelry/color_family'
require 'ravelry/craft'
require 'ravelry/data'
require 'ravelry/misc'
require 'ravelry/needle'
require 'ravelry/needles'
require 'ravelry/pack'
require 'ravelry/pattern'
require 'ravelry/pattern_type'
require 'ravelry/photo'
require 'ravelry/printing'
require 'ravelry/social_site'
require 'ravelry/user'
require 'ravelry/user_site'
require 'ravelry/yarn'
require 'ravelry/yarn_weight'

# Parent grouping for all classes.
module Ravelry
  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

2 entries across 2 versions & 1 rubygems

Version Path
ravelry-0.0.7 lib/ravelry.rb
ravelry-0.0.6 lib/ravelry.rb