Sha256: efa1afffa13c23cf870976bed4fdf9e4936f236ae9f709b0e873ae0b59dc831c
Contents?: true
Size: 694 Bytes
Versions: 2
Compression:
Stored size: 694 Bytes
Contents
require 'respondie' require 'restfulie/common' module Restfulie module Server autoload :Configuration, 'restfulie/server/configuration' autoload :ActionController, 'restfulie/server/action_controller' autoload :ActionView, 'restfulie/server/action_view' autoload :Controller, 'restfulie/server/controller' end end require 'restfulie/server/core_ext' Restfulie::Server::ActionView::TemplateHandlers.activate! class ActionController::Base def self.restfulie include Restfulie::Server::ActionController::Base end def self.use_trait(&block) Respondie::Builder.new("Restfulie::Server::ActionController::Trait::$trait$", self).instance_eval(&block) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
restfulie-1.0.0.beta1 | lib/restfulie/server.rb |
restfulie-0.1.0.beta1 | lib/restfulie/server.rb |