Sha256: c425891ba023d8896ea61323cce61bd9f84179588c0c9172042bb47b5ce368bf

Contents?: true

Size: 382 Bytes

Versions: 7

Compression:

Stored size: 382 Bytes

Contents

module DoorkeeperHub
  class Configurator
    attr_accessor :service_token
    attr_accessor :scope_model
    attr_accessor :user_model
    attr_accessor :doorkeeper_token_name

    def initialize
      self.service_token = ENV["SERVICE_TOKEN"]
      self.scope_model = ::Company
      self.user_model = ::User
      self.doorkeeper_token_name = :doorkeeper_token
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
doorkeeper_hub-0.1.7 lib/doorkeeper_hub/configurator.rb
doorkeeper_hub-0.1.6 lib/doorkeeper_hub/configurator.rb
doorkeeper_hub-0.1.5 lib/doorkeeper_hub/configurator.rb
doorkeeper_hub-0.1.4 lib/doorkeeper_hub/configurator.rb
doorkeeper_hub-0.1.3 lib/doorkeeper_hub/configurator.rb
doorkeeper_hub-0.1.2 lib/doorkeeper_hub/configurator.rb
doorkeeper_hub-0.1.1 lib/doorkeeper_hub/configurator.rb