Sha256: 2c132f8b1022aab5da5fc142a1d23abea2057911ce836f20180586c04ca30603
Contents?: true
Size: 493 Bytes
Versions: 1
Compression:
Stored size: 493 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
microsoft_graph-0.1.2 | lib/odata/types/collection_type.rb |