Class: NetworkedRFID::CardApplicationDelegate

Inherits:
Object
  • Object
show all
Defined in:
lib/networked_rfid/card_application_delegate.rb

Overview

Делегат, обрабатывающий события кардридера и преобразовывающий их в события прикладывания карты.

События прикладывания карты обрабатываются методом card_scanned(number) делегата.

Instance Attribute Summary collapse

Instance Attribute Details

#card_numberObject

Returns the value of attribute card_number.



10
11
12
# File 'lib/networked_rfid/card_application_delegate.rb', line 10

def card_number
  @card_number
end

#delegateObject

Returns the value of attribute delegate.



10
11
12
# File 'lib/networked_rfid/card_application_delegate.rb', line 10

def delegate
  @delegate
end