Sha256: 90cf4bf273a9cf4e7ae11d6f3b9572a31b581fcd338dde5b0bc3ec1ef191fc9e

Contents?: true

Size: 531 Bytes

Versions: 2

Compression:

Stored size: 531 Bytes

Contents

# frozen_string_literal: true

module KExt
  module Github
    # Configuration class for KExt::Github
    class Configuration
      include KUtil::Data::InstanceVariablesToH

      attr_accessor :user
      attr_accessor :personal_access_token
      attr_accessor :personal_access_token_delete

      def initialize
        @user = ENV['GITHUB_USER']
        @personal_access_token = ENV['GITHUB_PERSONAL_ACCESS_TOKEN']
        @personal_access_token_delete = ENV['GITHUB_PERSONAL_ACCESS_TOKEN_DELETE']
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
k_ext-github-0.0.4 lib/k_ext/github/configuration.rb
k_ext-github-0.0.3 lib/k_ext/github/configuration.rb