Class: NeweggScraperChsbr::Shipping
- Inherits:
-
Object
- Object
- NeweggScraperChsbr::Shipping
- Defined in:
- lib/newegg_scraper_chsbr/shipping.rb
Instance Attribute Summary collapse
-
#price ⇒ Object
readonly
Returns the value of attribute price.
Instance Method Summary collapse
-
#initialize(shipping_price) ⇒ Shipping
constructor
A new instance of Shipping.
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
#price ⇒ Object (readonly)
Returns the value of attribute price.
2 3 4 |
# File 'lib/newegg_scraper_chsbr/shipping.rb', line 2 def price @price end |