Sha256: c9598295611b28e16ebdb510b606236bdfea865a512eac774c2d6f4b77245ade
Contents?: true
Size: 343 Bytes
Versions: 1
Compression:
Stored size: 343 Bytes
Contents
module OData class Singleton attr_reader :name attr_reader :type_name def initialize(options = {}) @name = options[:name] @type_name = options[:type] @service = options[:service] end def collection? false end def type @service.get_type_by_name(type_name) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
microsoft_graph-0.1.2 | lib/odata/singleton.rb |