Method: MicrosoftGraph::BaseEntity#initialize
- Defined in:
- lib/microsoft_graph/base_entity.rb
#initialize(options = {}) ⇒ BaseEntity
Returns a new instance of BaseEntity.
7 8 9 10 11 12 13 14 |
# File 'lib/microsoft_graph/base_entity.rb', line 7 def initialize( = {}) @resource_name = [:resource_name] @parent = [:parent] || [:graph] @graph = [:graph] || parent && parent.graph @navigation_property_name = [:navigation_property_name] @persisted = [:persisted] || false super end |