Sha256: d042cd2f93bccfaa5ec54fbec2dbbbcccd6dcc56adf6f5aa44ff3f72b9a03fd8
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
module DoorkeeperHub class Configurator attr_accessor :service_token attr_accessor :scope_model attr_accessor :user_model attr_accessor :doorkeeper_token_name attr_accessor :client_mode def initialize self.service_token = ENV["SERVICE_TOKEN"] self.user_model = ::User rescue nil self.scope_model = ::Company rescue nil self.doorkeeper_token_name = :doorkeeper_token self.client_mode = false end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper_hub-0.2.5 | lib/doorkeeper_hub/configurator.rb |
doorkeeper_hub-0.2.4 | lib/doorkeeper_hub/configurator.rb |