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(options)
  @name     = options[:name] or raise ArgumentError, 'Name is required'
  @type     = options[:type] or raise ArgumentError, 'Type is required'
  @nullable = options[:nullable] || true
  @partner  = options[:partner]
end