Class: Radiustar::Value

Inherits:
Object
  • Object
show all
Defined in:
lib/radiustar/dictionary/values.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, id) ⇒ Value

Returns a new instance of Value.



32
33
34
35
# File 'lib/radiustar/dictionary/values.rb', line 32

def initialize(name, id)
  @name = name
  @id = id.to_i
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



30
31
32
# File 'lib/radiustar/dictionary/values.rb', line 30

def name
  @name
end