Refactor generation of object metadata in API calls
authorSimon Legner <Simon.Legner@gmail.com>
Tue, 3 Dec 2013 23:02:27 +0000 (23:02 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 4 Dec 2013 00:09:52 +0000 (00:09 +0000)
commit413baecf6b27056cb73e6bb4bedb33de6410c65e
tree131faef791f0561dddce5bbfcd3f96c0186cad0c
parenta6fb1ead5b9dc773813526c2d3e3beea0daebe17
Refactor generation of object metadata in API calls

Factor out duplicate from the object models into common code.
app/models/node.rb
app/models/old_node.rb
app/models/old_relation.rb
app/models/old_way.rb
app/models/relation.rb
app/models/way.rb
lib/object_metadata.rb [new file with mode: 0644]