Sha256: e364fb9d1b7112502aaab68475bb1a716e10c71e7353c497ea308c44302ae8fa
Contents?: true
Size: 577 Bytes
Versions: 1
Compression:
Stored size: 577 Bytes
Contents
module WampRails module Controller class BaseController def initialize(args, kwargs, details, client) @args = args || [] @kwargs = kwargs || {} @details = details || {} @client = client end def handler raise WampRails::Error.new('WampRails::Controller::Base is an abstract class. "handler" must be defined') end def args @args end def kwargs @kwargs end def details @details end def client @client end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wamp_rails-0.0.2 | lib/wamp_rails/controllers/base_controller.rb |