Class: Veracode::ActiveRecord::Model
- Inherits:
-
Object
- Object
- Veracode::ActiveRecord::Model
- Defined in:
- lib/veracode/schema.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Model
constructor
A new instance of Model.
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
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/veracode/schema.rb', line 5 def attributes @attributes end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/veracode/schema.rb', line 5 def name @name end |