Method: OData::NavigationProperty#initialize
- Defined in:
- lib/odata/navigation_property.rb
#initialize(options = {}) ⇒ NavigationProperty
Returns a new instance of NavigationProperty.
9 10 11 12 13 14 15 |
# File 'lib/odata/navigation_property.rb', line 9 def initialize( = {}) @name = [:name] @type = [:type] @nullable = [:nullable].nil? ? true : false @contain_target = [:contain_target] || false @partner = [:partner] end |