Class: Ticket
Overview
Copyright © 2011 Jesse Sielaff
Instance Method Summary collapse
-
#cities ⇒ Object
Returns an Array of the Cities on the Ticket.
-
#points ⇒ Object
Returns the point value of the Ticket.
Methods inherited from Entity
Constructor Details
This class inherits a constructor from Entity
Instance Method Details
#cities ⇒ Object
Returns an Array of the Cities on the Ticket.
9 10 11 |
# File 'lib/ttr/entities/ticket.rb', line 9 def cities City.entities(@obj.city_objs) end |
#points ⇒ Object
Returns the point value of the Ticket.
15 16 17 |
# File 'lib/ttr/entities/ticket.rb', line 15 def points @obj.points end |