class Ravelry::Pack

The information used to create `Ravelry::Pack` currently comes from {Ravelry::Pattern} objects.

See {Ravelry::Pattern} for more information about `Pattern` objects.

This class will be updated in future to perform GET, POST, PUT, and DESTROY requests.

Public Instance Methods

build() click to toggle source
# File lib/ravelry/pack.rb, line 11
def build; end
color_family_id() click to toggle source

Gets color_family_id from existing `data`.

# File lib/ravelry/pack.rb, line 74
def color_family_id
  data[:color_family_id]
end
colorway() click to toggle source

Gets colorway from existing `data`.

# File lib/ravelry/pack.rb, line 109
def colorway
  data[:colorway]
end
dye_lot() click to toggle source

Gets dye_lot from existing `data`.

# File lib/ravelry/pack.rb, line 54
def dye_lot
  data[:dye_lot]
end
grams_per_skein() click to toggle source

Gets grams_per_skein from existing `data`.

# File lib/ravelry/pack.rb, line 69
def grams_per_skein
  data[:grams_per_skein]
end
id() click to toggle source

Gets id from existing `data`.

# File lib/ravelry/pack.rb, line 64
def id
  data[:id]
end
meters_per_skein() click to toggle source

Gets meters_per_skein from existing `data`.

# File lib/ravelry/pack.rb, line 114
def meters_per_skein
  data[:meters_per_skein]
end
ounces_per_skein() click to toggle source

Gets ounces_per_skein from existing `data`.

# File lib/ravelry/pack.rb, line 49
def ounces_per_skein
  data[:ounces_per_skein]
end
personal_name() click to toggle source

Gets personal_name from existing `data`.

# File lib/ravelry/pack.rb, line 104
def personal_name
  data[:personal_name]
end
prefer_metric_length() click to toggle source

Gets prefer_metric_length from existing `data`.

# File lib/ravelry/pack.rb, line 44
def prefer_metric_length
  data[:prefer_metric_length]
end
prefer_metric_weight() click to toggle source

Gets prefer_metric_weight from existing `data`.

# File lib/ravelry/pack.rb, line 39
def prefer_metric_weight
  data[:prefer_metric_weight]
end
primary_pack_id() click to toggle source

Gets primary_pack_id from existing `data`.

# File lib/ravelry/pack.rb, line 99
def primary_pack_id
  data[:primary_pack_id]
end
project_id() click to toggle source

Gets project_id from existing `data`.

# File lib/ravelry/pack.rb, line 29
def project_id
  data[:project_id]
end
quantity_description() click to toggle source

Gets quantity_description from existing `data`.

# File lib/ravelry/pack.rb, line 14
def quantity_description
  data[:quantity_description]
end
shop_id() click to toggle source

Gets shop_id from existing `data`.

# File lib/ravelry/pack.rb, line 34
def shop_id
  data[:shop_id]
end
shop_name() click to toggle source

Gets shop_name from existing `data`.

# File lib/ravelry/pack.rb, line 79
def shop_name
  data[:shop_name]
end
skeins() click to toggle source

Gets skeins from existing `data`.

# File lib/ravelry/pack.rb, line 59
def skeins
  data[:skeins]
end
stash_id() click to toggle source

Gets stash_id from existing `data`.

# File lib/ravelry/pack.rb, line 89
def stash_id
  data[:stash_id]
end
total_grams() click to toggle source

Gets total_grams from existing `data`.

# File lib/ravelry/pack.rb, line 24
def total_grams
  data[:total_grams]
end
total_meters() click to toggle source

Gets total_meters from existing `data`.

# File lib/ravelry/pack.rb, line 84
def total_meters
  data[:total_meters]
end
total_ounces() click to toggle source

Gets total_ounces from existing `data`.

# File lib/ravelry/pack.rb, line 94
def total_ounces
  data[:total_ounces]
end
total_yards() click to toggle source

Gets total_yards from existing `data`.

# File lib/ravelry/pack.rb, line 129
def total_yards
  data[:total_yards]
end
yards_per_skein() click to toggle source

Gets yards_per_skein from existing `data`.

# File lib/ravelry/pack.rb, line 124
def yards_per_skein
  data[:yards_per_skein]
end
yarn_id() click to toggle source

Gets yarn_id from existing `data`.

# File lib/ravelry/pack.rb, line 19
def yarn_id
  data[:yarn_id]
end
yarn_name() click to toggle source

Gets yarn_name from existing `data`.

# File lib/ravelry/pack.rb, line 119
def yarn_name
  data[:yarn_name]
end