aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/way_cost.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/way_cost.rb b/lib/way_cost.rb
new file mode 100644
index 000000000..d088b3483
--- /dev/null
+++ b/lib/way_cost.rb
@@ -0,0 +1,15 @@
+class WayCost
+ def initialize(
+ departure:,
+ arrival:,
+ distance:,
+ time:,
+ id:,
+ )
+ @departure = departure
+ @arrival = arrival
+ @distance = distance
+ @time = time
+ @id = id
+ end
+end