Class: RateCenter::Distance
- Inherits:
-
Struct
- Object
- Struct
- RateCenter::Distance
- Defined in:
- lib/rate_center/distance.rb
Instance Attribute Summary collapse
-
#distance_km ⇒ Object
Returns the value of attribute distance_km.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#distance_km ⇒ Object
Returns the value of attribute distance_km
2 3 4 |
# File 'lib/rate_center/distance.rb', line 2 def distance_km @distance_km end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/rate_center/distance.rb', line 2 def name @name end |