Sha256: 8a7d7fcb3a0b3fc6c936b2483ff78cf143e970277a22185d464fb361f31a9dde
Contents?: true
Size: 523 Bytes
Versions: 3
Compression:
Stored size: 523 Bytes
Contents
module OData class CollectionType < Type attr_reader :member_type def initialize(options = {}) super @member_type = options[:member_type] end def valid_value?(value) member_type.valid_value?(value) end def primitive_type? OData::PrimitiveType === member_type end def enum_type? OData::EnumType === member_type end def collection? true end def properties member_type.properties end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
microsoft_graph-0.1.3 | lib/odata/types/collection_type.rb |
microsoft_graph-0.1.1 | lib/odata/types/collection_type.rb |
microsoft_graph-0.1.0 | lib/odata/types/collection_type.rb |