lib/odata4/entity.rb in odata4-0.8.1 vs lib/odata4/entity.rb in odata4-0.8.2

- old
+ new

@@ -54,10 +54,10 @@ # Get property value # @param property_name [to_s] # @return [*] def [](property_name) - if get_property(property_name).is_a?(::OData4::ComplexType::Property) + if get_property(property_name).is_a?(::OData4::Properties::Complex) get_property(property_name) else get_property(property_name).value end end