class RainJackets::Jacket

Attributes

breathability_rating[RW]
comfort_rating[RW]
cons[RW]
description[RW]
durability_rating[RW]
name[RW]
overall_rating[RW]
packed_size_rating[RW]
price[RW]
pros[RW]
rating_category[RW]
url[RW]
water_resistance_rating[RW]
weight_rating[RW]

Public Class Methods

all() click to toggle source

Class method to expose variable @@all

# File lib/rain_jackets/jacket.rb, line 13
def self.all
  @@all
end
all=(jackets) click to toggle source

Set class method @@all to equate jackets array created by Scraper

# File lib/rain_jackets/jacket.rb, line 8
def self.all=(jackets)
  @@all = jackets.uniq
end