Class: GoTransit::Fare::FareCategory::Ticket

Inherits:
ApiResource
  • Object
show all
Defined in:
lib/go_transit/resources/fare/fare_category/ticket.rb

Defined Under Namespace

Classes: Fare

Instance Attribute Summary collapse

Method Summary

Methods inherited from ApiResource

#initialize

Constructor Details

This class inherits a constructor from GoTransit::ApiResource

Instance Attribute Details

#faresObject

Returns the value of attribute fares.



3
4
5
# File 'lib/go_transit/resources/fare/fare_category/ticket.rb', line 3

def fares
  @fares
end

#typeObject

Returns the value of attribute type.



3
4
5
# File 'lib/go_transit/resources/fare/fare_category/ticket.rb', line 3

def type
  @type
end