Class: GS1::Configuration
- Inherits:
-
Object
- Object
- GS1::Configuration
- Defined in:
- lib/gs1.rb
Overview
Configuration holds custom configuration parameters.
Instance Attribute Summary collapse
- #barcode_separator ⇒ Object
-
#company_prefix ⇒ Object
Returns the value of attribute company_prefix.
-
#ignore_extra_barcode_elements ⇒ Object
Returns the value of attribute ignore_extra_barcode_elements.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
24 25 26 |
# File 'lib/gs1.rb', line 24 def initialize = true end |
Instance Attribute Details
#barcode_separator ⇒ Object
28 29 30 |
# File 'lib/gs1.rb', line 28 def || GS1::Barcode::DEFAULT_SEPARATOR end |
#company_prefix ⇒ Object
Returns the value of attribute company_prefix.
21 22 23 |
# File 'lib/gs1.rb', line 21 def company_prefix @company_prefix end |
#ignore_extra_barcode_elements ⇒ Object
Returns the value of attribute ignore_extra_barcode_elements.
21 22 23 |
# File 'lib/gs1.rb', line 21 def end |