Class: Veracode::ActiveRecord::Model

Inherits:
Object
  • Object
show all
Defined in:
lib/veracode/schema.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Model



7
8
9
10
# File 'lib/veracode/schema.rb', line 7

def initialize(name)
  @name = name
  @attributes = Array.new
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



5
6
7
# File 'lib/veracode/schema.rb', line 5

def attributes
  @attributes
end

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/veracode/schema.rb', line 5

def name
  @name
end