lib/service_contract/avro/protocol.rb in service_contract-0.3.0 vs lib/service_contract/avro/protocol.rb in service_contract-0.4.0
- old
+ new
@@ -11,11 +11,11 @@
end
end
def types
avro.types.map do |type|
- Type.new(type)
+ Type.build(type)
end
end
def path
File.join(service.path, resource_name)
@@ -39,6 +39,6 @@
::Avro::Protocol.parse(File.read(file_path))
end
end
end
end
-end
\ No newline at end of file
+end