lib/roar-rails.rb in roar-rails-0.1.6 vs lib/roar-rails.rb in roar-rails-1.0.0
- old
+ new
@@ -1,20 +1,18 @@
require "roar/rails/version"
require "roar/representer"
require "roar/decorator"
require "roar/rails/railtie"
-module Roar::Representer
- autoload("XML", "roar/representer/xml")
- autoload("JSON", "roar/representer/json")
+module Roar
+ autoload("XML", "roar/xml")
+ autoload("JSON", "roar/json")
module JSON
autoload("HAL", "roar/rails/hal")
end
- module Feature
- autoload("Hypermedia", "roar/representer/feature/hypermedia")
- end
+ autoload("Hypermedia", "roar/hypermedia")
end
module Roar
module Rails