Module: AusPost::DRC
- Defined in:
- lib/aus_post/drc.rb,
lib/aus_post/drc/parcel.rb,
lib/aus_post/drc/calculator.rb,
lib/aus_post/drc/service_type.rb
Defined Under Namespace
Classes: Calculator, Parcel, ServiceType
Constant Summary collapse
- VERSION =
"0.1.1".freeze
- Error =
Class.new(StandardError)
Class Method Summary collapse
Class Method Details
.calculate(params = {}) ⇒ Object
11 12 13 |
# File 'lib/aus_post/drc.rb', line 11 def self.calculate(params = {}) Calculator.new(Parcel.new(params)) end |