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

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from ApiResource

#initialize

Constructor Details

This class inherits a constructor from GoTransit::ApiResource

Instance Attribute Details

#amountObject

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

#categoryObject

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

#typeObject

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