Add constants
This commit is contained in:
parent
c3728bf5da
commit
1d1e60de70
@ -1,6 +1,8 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "planet_express_express/version"
|
require_relative "planet_express_express/version"
|
||||||
|
require_relative "planet_express_express/constants"
|
||||||
|
|
||||||
|
|
||||||
module PlanetExpressExpress
|
module PlanetExpressExpress
|
||||||
class Error < StandardError; end
|
class Error < StandardError; end
|
||||||
|
12
lib/planet_express_express/constants.rb
Normal file
12
lib/planet_express_express/constants.rb
Normal 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
|
Loading…
Reference in New Issue
Block a user