lib/ravelry/pattern.rb in ravelry-0.0.4 vs lib/ravelry/pattern.rb in ravelry-0.0.5
- old
+ new
@@ -20,21 +20,21 @@
# pattern.id = "000000"
# pattern.get
# ```
#
# After calling `get`, you have access to all of the class methods below.
- #
+ #
# ##Initializing with an id
- #
+ #
# Optionally, you can initialize with an id:
- #
+ #
# ```ruby
# pattern = Ravelry::Pattern.new(id)
# ```
- #
+ #
# And then run your get request:
- #
+ #
# ```ruby
# pattern.get
# ```
#
# ##Loading existing pattern data
@@ -47,10 +47,10 @@
# ```
#
# You now have access to all class methods for your pattern. Be warned: if you run `get` again, you will override your data with fresh information from the API call.
#
# # Pattern data
- #
+ #
# After you have pattern data from the API, you have access to all of the pattern attributes through the class methods (see documentation). Example:
#
# ```ruby
# pattern.free?
# # => true
\ No newline at end of file