Sha256: 06ae02c25f2a7647d6b053e48729c5462d6d1415dab87c2d95100611e746d1b6
Contents?: true
Size: 396 Bytes
Versions: 3
Compression:
Stored size: 396 Bytes
Contents
module OData class EntitySet attr_reader :name attr_reader :member_type def initialize(options = {}) @name = options[:name] @member_type = options[:member_type] @service = options[:service] end def collection? true end def type @service.get_type_by_name("Collection(#{member_type})") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
microsoft_graph-0.1.3 | lib/odata/entity_set.rb |
microsoft_graph-0.1.1 | lib/odata/entity_set.rb |
microsoft_graph-0.1.0 | lib/odata/entity_set.rb |