Method: FrOData::NavigationProperty#initialize
- Defined in:
- lib/frodata/navigation_property.rb
#initialize(options) ⇒ NavigationProperty
Returns a new instance of NavigationProperty.
7 8 9 10 11 12 |
# File 'lib/frodata/navigation_property.rb', line 7 def initialize() @name = [:name] or raise ArgumentError, 'Name is required' @type = [:type] or raise ArgumentError, 'Type is required' @nullable = [:nullable] || true @partner = [:partner] end |