Class: Relaton::Processor
- Inherits:
-
Object
- Object
- Relaton::Processor
- Defined in:
- lib/relaton/processor.rb
Instance Attribute Summary collapse
-
#defaultprefix ⇒ Object
readonly
Returns the value of attribute defaultprefix.
-
#idtype ⇒ Object
readonly
Returns the value of attribute idtype.
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
-
#short ⇒ Object
readonly
Returns the value of attribute short.
Instance Method Summary collapse
- #from_xml(xml) ⇒ Object
- #get(code, date, opts) ⇒ Object
-
#initialize ⇒ Processor
constructor
A new instance of Processor.
Constructor Details
#initialize ⇒ Processor
Returns a new instance of Processor.
9 10 11 |
# File 'lib/relaton/processor.rb', line 9 def initialize raise "This is an abstract class!" end |
Instance Attribute Details
#defaultprefix ⇒ Object (readonly)
Returns the value of attribute defaultprefix.
6 7 8 |
# File 'lib/relaton/processor.rb', line 6 def defaultprefix @defaultprefix end |
#idtype ⇒ Object (readonly)
Returns the value of attribute idtype.
7 8 9 |
# File 'lib/relaton/processor.rb', line 7 def idtype @idtype end |
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix.
5 6 7 |
# File 'lib/relaton/processor.rb', line 5 def prefix @prefix end |
#short ⇒ Object (readonly)
Returns the value of attribute short.
4 5 6 |
# File 'lib/relaton/processor.rb', line 4 def short @short end |
Instance Method Details
#from_xml(xml) ⇒ Object
17 18 19 |
# File 'lib/relaton/processor.rb', line 17 def from_xml(xml) raise "This is an abstract class!" end |
#get(code, date, opts) ⇒ Object
13 14 15 |
# File 'lib/relaton/processor.rb', line 13 def get(code, date, opts) raise "This is an abstract class!" end |