Class: Postmen::ServiceOptionInsurance
- Inherits:
-
Object
- Object
- Postmen::ServiceOptionInsurance
- Includes:
- Common
- Defined in:
- lib/postmen/service_option_insurance.rb
Instance Attribute Summary collapse
-
#insured_value ⇒ Object
readonly
Returns the value of attribute insured_value.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(options) ⇒ ServiceOptionInsurance
constructor
A new instance of ServiceOptionInsurance.
Methods included from Common
Constructor Details
#initialize(options) ⇒ ServiceOptionInsurance
Returns a new instance of ServiceOptionInsurance.
8 9 10 11 |
# File 'lib/postmen/service_option_insurance.rb', line 8 def initialize() @type = [:type] @insured_value = [:insured_value] end |
Instance Attribute Details
#insured_value ⇒ Object (readonly)
Returns the value of attribute insured_value.
5 6 7 |
# File 'lib/postmen/service_option_insurance.rb', line 5 def insured_value @insured_value end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
5 6 7 |
# File 'lib/postmen/service_option_insurance.rb', line 5 def type @type end |