Class: FSR::Model::Enum
- Inherits:
-
Object
- Object
- FSR::Model::Enum
- Defined in:
- lib/fsr/model/enum.rb
Instance Attribute Summary (collapse)
-
- (Object) offered_routes
readonly
Returns the value of attribute offered_routes.
-
- (Object) order
readonly
Returns the value of attribute order.
-
- (Object) pref
readonly
Returns the value of attribute pref.
-
- (Object) route
readonly
Returns the value of attribute route.
-
- (Object) service
readonly
Returns the value of attribute service.
-
- (Object) supported_routes
readonly
Returns the value of attribute supported_routes.
Instance Method Summary (collapse)
-
- (Enum) initialize(offered_routes, supported_routes, order, pref, service, route)
constructor
A new instance of Enum.
Constructor Details
- (Enum) initialize(offered_routes, supported_routes, order, pref, service, route)
A new instance of Enum
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/fsr/model/enum.rb', line 5 def initialize(offered_routes, supported_routes, order, pref, service, route) @offered_routes, @supported_routes, @order, @pref, @service, @route, = offered_routes, supported_routes, order, pref, service, route end |
Instance Attribute Details
- (Object) offered_routes (readonly)
Returns the value of attribute offered_routes
4 5 6 |
# File 'lib/fsr/model/enum.rb', line 4 def offered_routes @offered_routes end |
- (Object) order (readonly)
Returns the value of attribute order
4 5 6 |
# File 'lib/fsr/model/enum.rb', line 4 def order @order end |
- (Object) pref (readonly)
Returns the value of attribute pref
4 5 6 |
# File 'lib/fsr/model/enum.rb', line 4 def pref @pref end |
- (Object) route (readonly)
Returns the value of attribute route
4 5 6 |
# File 'lib/fsr/model/enum.rb', line 4 def route @route end |
- (Object) service (readonly)
Returns the value of attribute service
4 5 6 |
# File 'lib/fsr/model/enum.rb', line 4 def service @service end |
- (Object) supported_routes (readonly)
Returns the value of attribute supported_routes
4 5 6 |
# File 'lib/fsr/model/enum.rb', line 4 def supported_routes @supported_routes end |