Class: GoTransit::Fare::FareCategory::Ticket::Fare
- Inherits:
-
ApiResource
- Object
- ApiResource
- GoTransit::Fare::FareCategory::Ticket::Fare
- Defined in:
- lib/go_transit/resources/fare/fare_category/ticket/fare.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#category ⇒ Object
Returns the value of attribute category.
-
#type ⇒ Object
Returns the value of attribute type.
Method Summary
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from GoTransit::ApiResource
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
3 4 5 |
# File 'lib/go_transit/resources/fare/fare_category/ticket/fare.rb', line 3 def amount @amount end |
#category ⇒ Object
Returns the value of attribute category.
3 4 5 |
# File 'lib/go_transit/resources/fare/fare_category/ticket/fare.rb', line 3 def category @category end |
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/go_transit/resources/fare/fare_category/ticket/fare.rb', line 3 def type @type end |