Class: PecCalcClient::CalcResult
- Inherits:
-
Object
- Object
- PecCalcClient::CalcResult
- Defined in:
- lib/pec_calc_client/calc_result.rb
Overview
Result of delivery calculation
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(params) ⇒ CalcResult
constructor
A new instance of CalcResult.
Constructor Details
#initialize(params) ⇒ CalcResult
Returns a new instance of CalcResult.
6 7 8 |
# File 'lib/pec_calc_client/calc_result.rb', line 6 def initialize(params) @result = params end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
4 5 6 |
# File 'lib/pec_calc_client/calc_result.rb', line 4 def result @result end |