Class: Veracode::Result::Analysis
- Inherits:
-
Common::Base
- Object
- Common::Base
- Veracode::Result::Analysis
- Defined in:
- lib/veracode/api/types.rb
Instance Method Summary collapse
Methods inherited from Common::Base
api_field, api_type_field, #initialize
Constructor Details
This class inherits a constructor from Veracode::Common::Base
Instance Method Details
#modules ⇒ Object
146 147 148 149 150 151 152 153 154 155 156 157 158 |
# File 'lib/veracode/api/types.rb', line 146 def modules @modules ||= [] if @modules.empty? if @xml_hash.modules.class == Array @modules = @xml_hash.modules.map do |modules| Module.new(modules.module) end else @modules << Module.new(@xml_hash.modules.module) end end return @modules end |