Sha256: 1c332e4843c7c51929ead08368a3899d11eba45a5c4f37bc796651b265b920e4

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

module Tracksale
  class Configuration
    attr_accessor :key
    attr_accessor :client

    def client
      @client ||= Tracksale::Client
    end

    def force_dummy_client(on = true)
      @client = on ?
        Tracksale::DummyClient :
        Tracksale::Client
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tracksale-0.0.7 lib/tracksale/configuration.rb
tracksale-0.0.5 lib/tracksale/configuration.rb