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