Sha256: 550db5cea23afe4fbb92428bab7005ff0676643a3b8a76df481f84a62ad182e3

Contents?: true

Size: 364 Bytes

Versions: 14

Compression:

Stored size: 364 Bytes

Contents

require 'tamashii/agent/adapter/base'
require 'tamashii/agent/device/fake_card_reader'

module Tamashii
  module Agent
    module Adapter
      class CardReader < Base
        class << self
          def real_class
            MFRC522
          end

          def fake_class
            Device::FakeCardReader
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tamashii-agent-0.3.0 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.2.8 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.2.7 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.2.6 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.2.5 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.2.4 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.2.3 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.2.1 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.2.0 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.1.11 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.1.10 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.1.9 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.1.8 lib/tamashii/agent/adapter/card_reader.rb
tamashii-agent-0.1.7 lib/tamashii/agent/adapter/card_reader.rb