Class: Relaton::Processor

Inherits:
Object
  • Object
show all
Defined in:
lib/relaton/processor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeProcessor

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

#defaultprefixObject (readonly)

Returns the value of attribute defaultprefix.



6
7
8
# File 'lib/relaton/processor.rb', line 6

def defaultprefix
  @defaultprefix
end

#idtypeObject (readonly)

Returns the value of attribute idtype.



7
8
9
# File 'lib/relaton/processor.rb', line 7

def idtype
  @idtype
end

#prefixObject (readonly)

Returns the value of attribute prefix.



5
6
7
# File 'lib/relaton/processor.rb', line 5

def prefix
  @prefix
end

#shortObject (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