Class: RateCenter::Distance

Inherits:
Struct
  • Object
show all
Defined in:
lib/rate_center/distance.rb

Instance Attribute Summary collapse

Instance Attribute Details

#distance_kmObject

Returns the value of attribute distance_km

Returns:

  • (Object)

    the current value of distance_km



2
3
4
# File 'lib/rate_center/distance.rb', line 2

def distance_km
  @distance_km
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/rate_center/distance.rb', line 2

def name
  @name
end