Class: Relaton::Etsi::PubId
- Inherits:
-
Object
- Object
- Relaton::Etsi::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.
24 25 26 27 28 29 30 |
# File 'lib/relaton/etsi/pubid.rb', line 24 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.
22 23 24 |
# File 'lib/relaton/etsi/pubid.rb', line 22 def date @date end |
#docnumber ⇒ Object
Returns the value of attribute docnumber.
22 23 24 |
# File 'lib/relaton/etsi/pubid.rb', line 22 def docnumber @docnumber end |
#edition ⇒ Object
Returns the value of attribute edition.
22 23 24 |
# File 'lib/relaton/etsi/pubid.rb', line 22 def edition @edition end |
#type ⇒ Object
Returns the value of attribute type.
22 23 24 |
# File 'lib/relaton/etsi/pubid.rb', line 22 def type @type end |
#version ⇒ Object
Returns the value of attribute version.
22 23 24 |
# File 'lib/relaton/etsi/pubid.rb', line 22 def version @version end |