Sha256: e5fd6c3662887ba6c1e50c6fcfe7df903f5fe35877e38d9f1eae20cfdb6dfb47
Contents?: true
Size: 321 Bytes
Versions: 2
Compression:
Stored size: 321 Bytes
Contents
module AuthStrategist module Authorization def self.included(base) base.class_eval do def authorize!(options = {}) authorization_service.call(options) end private def authorization_service AuthStrategist::Authorize end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
auth_strategist-0.6.0 | lib/auth_strategist/authorization.rb |
auth_strategist-0.5.0 | lib/auth_strategist/authorization.rb |