class NYCTheaterDiscounts::Vendor
Attributes
lowest_price[RW]
name[RW]
shows[RW]
url[RW]
Public Class Methods
all()
click to toggle source
# File lib/nyc_theater_discounts/vendor.rb, line 17 def self.all @@all end
new( vendor_name, path)
click to toggle source
# File lib/nyc_theater_discounts/vendor.rb, line 10 def initialize( vendor_name, path) @name = vendor_name @url = path @shows = [] @@all << self end