Module: Ravelry

Defined in:
lib/ravelry.rb,
lib/ravelry/data.rb,
lib/ravelry/misc.rb,
lib/ravelry/pack.rb,
lib/ravelry/user.rb,
lib/ravelry/yarn.rb,
lib/ravelry/craft.rb,
lib/ravelry/photo.rb,
lib/ravelry/author.rb,
lib/ravelry/needle.rb,
lib/ravelry/comment.rb,
lib/ravelry/needles.rb,
lib/ravelry/pattern.rb,
lib/ravelry/version.rb,
lib/ravelry/category.rb,
lib/ravelry/printing.rb,
lib/ravelry/user_site.rb,
lib/ravelry/social_site.rb,
lib/ravelry/utils/build.rb,
lib/ravelry/yarn_weight.rb,
lib/ravelry/color_family.rb,
lib/ravelry/pattern_type.rb,
lib/ravelry/configuration.rb,
lib/ravelry/utils/request.rb,
lib/ravelry/utils/utilities.rb,
lib/ravelry/errors/configuration.rb

Overview

Parent module for all classes.

Defined Under Namespace

Modules: Build, Errors, Misc, Needles, Utilities, Utils Classes: Author, Category, ColorFamily, Comment, Configuration, Craft, Data, Needle, Pack, Pattern, PatternType, Photo, Printing, SocialSite, User, UserSite, Yarn, YarnWeight

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



35
36
37
# File 'lib/ravelry.rb', line 35

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



46
47
48
# File 'lib/ravelry.rb', line 46

def self.configure
  yield(configuration)
end

.resetObject



42
43
44
# File 'lib/ravelry.rb', line 42

def self.reset
  @configuration = Configuration.new
end