Module: TimePricing
- Defined in:
- lib/time_pricing.rb,
lib/time_pricing/base.rb,
lib/time_pricing/plan.rb,
lib/time_pricing/utils.rb,
lib/time_pricing/config.rb,
lib/time_pricing/version.rb,
lib/time_pricing/calculation.rb
Defined Under Namespace
Classes: Base, Calculation, Config, Error, ParameterMissing, Plan, Utils
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
Class Method Details
.new(**args) ⇒ Object
17 18 19 20 |
# File 'lib/time_pricing.rb', line 17 def new(**args) config = TimePricing::Config.new(args) TimePricing::Base.new(config) end |