Sha256: a067254d29e4f053eb600b4928f89499e8de60b9611a3ed43dfbf7a627869933
Contents?: true
Size: 382 Bytes
Versions: 3
Compression:
Stored size: 382 Bytes
Contents
class Diagnostic::Request def self.request raise 'Request object has not been been injected into #{name}' unless @@request @@request end def self.request= req @@request = req end def self.params request.params end def self.scope params[:scope] end def self.op params[:op] end def self.ssl? request.port == 443 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
marty-1.1.8 | app/models/diagnostic/request.rb |
marty-1.1.7 | app/models/diagnostic/request.rb |
marty-1.1.6 | app/models/diagnostic/request.rb |