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

- old
+ new

@@ -109,20 +109,20 @@ end end.flatten end # Returns a list of `ComplexType`s used by the service. - # @return [Hash<String, OData4::ComplexType>] + # @return [Hash<String, OData4::Schema::ComplexType>] def complex_types @complex_types ||= schemas.map do |namespace, schema| schema.complex_types.map do |name, complex_type| [ "#{namespace}.#{name}", complex_type ] end.to_h end.reduce({}, :merge) end # Returns a list of `EnumType`s used by the service - # @return [Hash<String, OData4::EnumType>] + # @return [Hash<String, OData4::Schema::EnumType>] def enum_types @enum_types ||= schemas.map do |namespace, schema| schema.enum_types.map do |name, enum_type| [ "#{namespace}.#{name}", enum_type ] end.to_h