Skip to content

Instantly share code, notes, and snippets.

@Killavus
Created May 27, 2015 17:09
Show Gist options
  • Save Killavus/4c3e48a7695c9ee2af52 to your computer and use it in GitHub Desktop.
Save Killavus/4c3e48a7695c9ee2af52 to your computer and use it in GitHub Desktop.
mapper = Lotus::Model::Mapper.new do
# ...
end
module Foo
class Bar < Lotus::Application
configure do
# ...
mapping(mapper)
# ...
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment