Sha256: 5eadbe4df2516a841897b44338b5bc56466340213cc5ab52737d99858bbbe149
Contents?: true
Size: 547 Bytes
Versions: 3
Compression:
Stored size: 547 Bytes
Contents
module Doorkeepr module Rails class Entrance def initialize @entrance_config = Doorkeepr.config.to_h @entrance_config[:interval] = 5 @entrance_config[:timeout] = 3 @entrance_config[:function] = "entrance" @entrance_config[:zk_path] = Doorkeepr.config.to_h[:entrance] @entrance_service = ::Nerve::Easy::Service.new @entrance_config end def config @entrance_config end def service @entrance_service end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
doorkeepr-rails-0.1.6 | lib/doorkeepr/rails/entrance.rb |
doorkeepr-rails-0.1.5 | lib/doorkeepr/rails/entrance.rb |
doorkeepr-rails-0.1.4 | lib/doorkeepr/rails/entrance.rb |