Class: NeweggScraperChsbr::Shipping

Inherits:
Object
  • Object
show all
Defined in:
lib/newegg_scraper_chsbr/shipping.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shipping_price) ⇒ Shipping

Returns a new instance of Shipping.



3
4
5
# File 'lib/newegg_scraper_chsbr/shipping.rb', line 3

def initialize(shipping_price)
    @price = shipping_price
end

Instance Attribute Details

#priceObject (readonly)

Returns the value of attribute price.



2
3
4
# File 'lib/newegg_scraper_chsbr/shipping.rb', line 2

def price
  @price
end