Class: FSR::Model::Enum
- Inherits:
-
Object
- Object
- FSR::Model::Enum
- Defined in:
- lib/fsr/model/enum.rb
Instance Attribute Summary collapse
-
#offered_routes ⇒ Object
readonly
Returns the value of attribute offered_routes.
-
#order ⇒ Object
readonly
Returns the value of attribute order.
-
#pref ⇒ Object
readonly
Returns the value of attribute pref.
-
#route ⇒ Object
readonly
Returns the value of attribute route.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
-
#supported_routes ⇒ Object
readonly
Returns the value of attribute supported_routes.
Instance Method Summary collapse
-
#initialize(offered_routes, supported_routes, order, pref, service, route) ⇒ Enum
constructor
A new instance of Enum.
Constructor Details
#initialize(offered_routes, supported_routes, order, pref, service, route) ⇒ Enum
Returns 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
#offered_routes ⇒ Object (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 |
#order ⇒ Object (readonly)
Returns the value of attribute order.
4 5 6 |
# File 'lib/fsr/model/enum.rb', line 4 def order @order end |
#pref ⇒ Object (readonly)
Returns the value of attribute pref.
4 5 6 |
# File 'lib/fsr/model/enum.rb', line 4 def pref @pref end |
#route ⇒ Object (readonly)
Returns the value of attribute route.
4 5 6 |
# File 'lib/fsr/model/enum.rb', line 4 def route @route end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
4 5 6 |
# File 'lib/fsr/model/enum.rb', line 4 def service @service end |
#supported_routes ⇒ Object (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 |