Sha256: 13ae463cc0cda09f52bf40a302b6a427a23e10f634b8d1a292e6fe0d57f9a3cb
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
module NetSuite module Records class MatrixOptionList def initialize(attributes = {}) attributes[:matrix_option].each do |option| options << OpenStruct.new( type_id: option[:value][:'@type_id'], value_id: option[:value][:'@internal_id'] ) end if attributes[:matrix_option] end def options @options ||= [] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
netsuite-0.2.2 | lib/netsuite/records/matrix_option_list.rb |