Class: NetworkedRFID::CardApplicationDelegate
- Inherits:
-
Object
- Object
- NetworkedRFID::CardApplicationDelegate
- Defined in:
- lib/networked_rfid/card_application_delegate.rb
Overview
Делегат, обрабатывающий события кардридера и преобразовывающий их в события прикладывания карты.
События прикладывания карты обрабатываются методом card_scanned(number) делегата.
Instance Attribute Summary collapse
-
#card_number ⇒ Object
Returns the value of attribute card_number.
-
#delegate ⇒ Object
Returns the value of attribute delegate.
Instance Attribute Details
#card_number ⇒ Object
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 |
#delegate ⇒ Object
Returns the value of attribute delegate.
10 11 12 |
# File 'lib/networked_rfid/card_application_delegate.rb', line 10 def delegate @delegate end |