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