module FbaFeeCalculator

Constants

VERSION

Public Class Methods

calculate(args) click to toggle source
# File lib/fba_fee_calculator.rb, line 7
def self.calculate(args)
  price      = args[:price]
  category   = args[:category]
  weight     = args[:weight]
  dimensions = args[:dimensions]

  calculation = FbaFeeCalculation.new(price, category, weight, dimensions)
  calculation.calculate!
  calculation
end