Sha256: 63d11ddc27208512c728dea4f2a255afe48222117ddfb3c29f65a26971c3a990

Contents?: true

Size: 296 Bytes

Versions: 12

Compression:

Stored size: 296 Bytes

Contents

# frozen_string_literal: true

require 'singleton'

# Root Sourcescrub
module Sourcescrub
  # Account
  class Account
    include Singleton
    attr_accessor :username, :password, :basic, :debug
  end

  def self.account
    yield Account.instance if block_given?

    Account.instance
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sourcescrub-0.1.3 lib/sourcescrub/account.rb
sourcescrub-0.1.2 lib/sourcescrub/account.rb
sourcescrub-0.1.1 lib/sourcescrub/account.rb
sourcescrub-0.1.0 lib/sourcescrub/account.rb
sourcescrub-0.0.9 lib/sourcescrub/account.rb
sourcescrub-0.0.8 lib/sourcescrub/account.rb
sourcescrub-0.0.7 lib/sourcescrub/account.rb
sourcescrub-0.0.6 lib/sourcescrub/account.rb
sourcescrub-0.0.5 lib/sourcescrub/account.rb
sourcescrub-0.0.4 lib/sourcescrub/account.rb
sourcescrub-0.0.3 lib/sourcescrub/account.rb
sourcescrub-0.0.2 lib/sourcescrub/account.rb