Class: Ravelry::Pack
Overview
Instance Attribute Summary
Attributes inherited from Data
Instance Method Summary collapse
- #build ⇒ Object
-
#color_family_id ⇒ Object
Gets color_family_id from existing ‘data`.
-
#colorway ⇒ Object
Gets colorway from existing ‘data`.
-
#dye_lot ⇒ Object
Gets dye_lot from existing ‘data`.
-
#grams_per_skein ⇒ Object
Gets grams_per_skein from existing ‘data`.
-
#id ⇒ Object
Gets id from existing ‘data`.
-
#meters_per_skein ⇒ Object
Gets meters_per_skein from existing ‘data`.
-
#ounces_per_skein ⇒ Object
Gets ounces_per_skein from existing ‘data`.
-
#personal_name ⇒ Object
Gets personal_name from existing ‘data`.
-
#prefer_metric_length ⇒ Object
Gets prefer_metric_length from existing ‘data`.
-
#prefer_metric_weight ⇒ Object
Gets prefer_metric_weight from existing ‘data`.
-
#primary_pack_id ⇒ Object
Gets primary_pack_id from existing ‘data`.
-
#project_id ⇒ Object
Gets project_id from existing ‘data`.
-
#quantity_description ⇒ Object
Gets quantity_description from existing ‘data`.
-
#shop_id ⇒ Object
Gets shop_id from existing ‘data`.
-
#shop_name ⇒ Object
Gets shop_name from existing ‘data`.
-
#skeins ⇒ Object
Gets skeins from existing ‘data`.
-
#stash_id ⇒ Object
Gets stash_id from existing ‘data`.
-
#total_grams ⇒ Object
Gets total_grams from existing ‘data`.
-
#total_meters ⇒ Object
Gets total_meters from existing ‘data`.
-
#total_ounces ⇒ Object
Gets total_ounces from existing ‘data`.
-
#total_yards ⇒ Object
Gets total_yards from existing ‘data`.
-
#yards_per_skein ⇒ Object
Gets yards_per_skein from existing ‘data`.
-
#yarn_id ⇒ Object
Gets yarn_id from existing ‘data`.
-
#yarn_name ⇒ Object
Gets yarn_name from existing ‘data`.
Methods inherited from Data
Constructor Details
This class inherits a constructor from Ravelry::Data
Instance Method Details
#build ⇒ Object
11 |
# File 'lib/ravelry/pack.rb', line 11 def build; end |
#color_family_id ⇒ Object
Gets color_family_id from existing ‘data`.
74 75 76 |
# File 'lib/ravelry/pack.rb', line 74 def color_family_id data[:color_family_id] end |
#colorway ⇒ Object
Gets colorway from existing ‘data`.
109 110 111 |
# File 'lib/ravelry/pack.rb', line 109 def colorway data[:colorway] end |
#dye_lot ⇒ Object
Gets dye_lot from existing ‘data`.
54 55 56 |
# File 'lib/ravelry/pack.rb', line 54 def dye_lot data[:dye_lot] end |
#grams_per_skein ⇒ Object
Gets grams_per_skein from existing ‘data`.
69 70 71 |
# File 'lib/ravelry/pack.rb', line 69 def grams_per_skein data[:grams_per_skein] end |
#id ⇒ Object
Gets id from existing ‘data`.
64 65 66 |
# File 'lib/ravelry/pack.rb', line 64 def id data[:id] end |
#meters_per_skein ⇒ Object
Gets meters_per_skein from existing ‘data`.
114 115 116 |
# File 'lib/ravelry/pack.rb', line 114 def meters_per_skein data[:meters_per_skein] end |
#ounces_per_skein ⇒ Object
Gets ounces_per_skein from existing ‘data`.
49 50 51 |
# File 'lib/ravelry/pack.rb', line 49 def ounces_per_skein data[:ounces_per_skein] end |
#personal_name ⇒ Object
Gets personal_name from existing ‘data`.
104 105 106 |
# File 'lib/ravelry/pack.rb', line 104 def personal_name data[:personal_name] end |
#prefer_metric_length ⇒ Object
Gets prefer_metric_length from existing ‘data`.
44 45 46 |
# File 'lib/ravelry/pack.rb', line 44 def prefer_metric_length data[:prefer_metric_length] end |
#prefer_metric_weight ⇒ Object
Gets prefer_metric_weight from existing ‘data`.
39 40 41 |
# File 'lib/ravelry/pack.rb', line 39 def prefer_metric_weight data[:prefer_metric_weight] end |
#primary_pack_id ⇒ Object
Gets primary_pack_id from existing ‘data`.
99 100 101 |
# File 'lib/ravelry/pack.rb', line 99 def primary_pack_id data[:primary_pack_id] end |
#project_id ⇒ Object
Gets project_id from existing ‘data`.
29 30 31 |
# File 'lib/ravelry/pack.rb', line 29 def project_id data[:project_id] end |
#quantity_description ⇒ Object
Gets quantity_description from existing ‘data`.
14 15 16 |
# File 'lib/ravelry/pack.rb', line 14 def quantity_description data[:quantity_description] end |
#shop_id ⇒ Object
Gets shop_id from existing ‘data`.
34 35 36 |
# File 'lib/ravelry/pack.rb', line 34 def shop_id data[:shop_id] end |
#shop_name ⇒ Object
Gets shop_name from existing ‘data`.
79 80 81 |
# File 'lib/ravelry/pack.rb', line 79 def shop_name data[:shop_name] end |
#skeins ⇒ Object
Gets skeins from existing ‘data`.
59 60 61 |
# File 'lib/ravelry/pack.rb', line 59 def skeins data[:skeins] end |
#stash_id ⇒ Object
Gets stash_id from existing ‘data`.
89 90 91 |
# File 'lib/ravelry/pack.rb', line 89 def stash_id data[:stash_id] end |
#total_grams ⇒ Object
Gets total_grams from existing ‘data`.
24 25 26 |
# File 'lib/ravelry/pack.rb', line 24 def total_grams data[:total_grams] end |
#total_meters ⇒ Object
Gets total_meters from existing ‘data`.
84 85 86 |
# File 'lib/ravelry/pack.rb', line 84 def total_meters data[:total_meters] end |
#total_ounces ⇒ Object
Gets total_ounces from existing ‘data`.
94 95 96 |
# File 'lib/ravelry/pack.rb', line 94 def total_ounces data[:total_ounces] end |
#total_yards ⇒ Object
Gets total_yards from existing ‘data`.
129 130 131 |
# File 'lib/ravelry/pack.rb', line 129 def total_yards data[:total_yards] end |
#yards_per_skein ⇒ Object
Gets yards_per_skein from existing ‘data`.
124 125 126 |
# File 'lib/ravelry/pack.rb', line 124 def yards_per_skein data[:yards_per_skein] end |
#yarn_id ⇒ Object
Gets yarn_id from existing ‘data`.
19 20 21 |
# File 'lib/ravelry/pack.rb', line 19 def yarn_id data[:yarn_id] end |
#yarn_name ⇒ Object
Gets yarn_name from existing ‘data`.
119 120 121 |
# File 'lib/ravelry/pack.rb', line 119 def yarn_name data[:yarn_name] end |