Class: Classification::Base

Inherits:
Object
  • Object
show all
Defined in:
app/models/classification/base.rb

Direct Known Subclasses

ClassParam, GlobalParam

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ Base


6
7
8
# File 'app/models/classification/base.rb', line 6

def initialize args = { }
  @host = args[:host]
end

Instance Method Details

#encObject

override to return the relevant enc data and format

Raises:

  • (NotImplementedError)

11
12
13
# File 'app/models/classification/base.rb', line 11

def enc
  raise NotImplementedError
end

#inherited_valuesObject


15
16
17
# File 'app/models/classification/base.rb', line 15

def inherited_values
  values_hash :skip_fqdn => true
end