spec/fixtures/mappings/user_map.rb in spigot-0.2.1 vs spec/fixtures/mappings/user_map.rb in spigot-0.2.2

- old
+ new

@@ -7,9 +7,16 @@ full_name :name login :username end end + def self.abridged + Spigot.resource :user do + full_name :name + login :username + end + end + def self.interpolated template do full_name :name login :username do |value| "@#{value}"