Module: Workarea::Pricing::Calculator

Defined Under Namespace

Modules: ClassMethods Classes: TestRequest

Instance Method Summary collapse

Instance Method Details

#adjustObject

Raises:

  • (NotImplementedError)


36
37
38
# File 'app/models/workarea/pricing/calculator.rb', line 36

def adjust
  raise(NotImplementedError, "#{self.class} must implement #adjust")
end

#initialize(request) ⇒ Object



32
33
34
# File 'app/models/workarea/pricing/calculator.rb', line 32

def initialize(request)
  @request = request
end