lib/service_contract/avro/parameter.rb in service_contract-0.3.0 vs lib/service_contract/avro/parameter.rb in service_contract-0.4.0
- old
+ new
@@ -7,21 +7,15 @@
def type
Type.build(definition.type)
end
- def subtype
- definition.array? ?
- definition.type.items :
- nil
- end
-
def default
definition.default
end
def doc
definition.respond_to?(:doc) ? definition.doc : nil
end
end
end
-end
\ No newline at end of file
+end