Class: RelatonEtsi::PubId
- Inherits:
-
Object
- Object
- RelatonEtsi::PubId
- Defined in:
- lib/relaton_etsi/pubid.rb
Defined Under Namespace
Classes: Parser
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#docnumber ⇒ Object
Returns the value of attribute docnumber.
-
#edition ⇒ Object
Returns the value of attribute edition.
-
#type ⇒ Object
Returns the value of attribute type.
-
#version ⇒ Object
Returns the value of attribute version.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, docnumber:, version:, edition:, date:) ⇒ PubId
constructor
A new instance of PubId.
Constructor Details
#initialize(type:, docnumber:, version:, edition:, date:) ⇒ PubId
Returns a new instance of PubId.
23 24 25 26 27 28 29 |
# File 'lib/relaton_etsi/pubid.rb', line 23 def initialize(type:, docnumber:, version:, edition:, date:) @type = type @docnumber = docnumber @version = version @edition = edition @date = date end |
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
21 22 23 |
# File 'lib/relaton_etsi/pubid.rb', line 21 def date @date end |
#docnumber ⇒ Object
Returns the value of attribute docnumber.
21 22 23 |
# File 'lib/relaton_etsi/pubid.rb', line 21 def docnumber @docnumber end |
#edition ⇒ Object
Returns the value of attribute edition.
21 22 23 |
# File 'lib/relaton_etsi/pubid.rb', line 21 def edition @edition end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/relaton_etsi/pubid.rb', line 21 def type @type end |
#version ⇒ Object
Returns the value of attribute version.
21 22 23 |
# File 'lib/relaton_etsi/pubid.rb', line 21 def version @version end |