1
0

Add constants

This commit is contained in:
Tim Kächele 2023-09-02 08:36:53 +02:00
parent c3728bf5da
commit 1d1e60de70
2 changed files with 14 additions and 0 deletions

View File

@ -1,6 +1,8 @@
# frozen_string_literal: true
require_relative "planet_express_express/version"
require_relative "planet_express_express/constants"
module PlanetExpressExpress
class Error < StandardError; end

View File

@ -0,0 +1,12 @@
module PlanetExpressExpress
PRICE_LIST = {
[:LP, :S] => 1_50,
[:LP, :M] => 4_90,
[:LP, :L] => 6_90,
[:MR, :S] => 2_00,
[:MR, :M] => 3_00,
[:MR, :L] => 4_00,
}.freeze
DISCOUNT_LIMIT = 10_00
end