Class: Device::Transaction::EMV
- Inherits:
-
Object
- Object
- Device::Transaction::EMV
- Defined in:
- lib/device/transaction/emv.rb
Class Attribute Summary collapse
-
.mk_slot ⇒ Object
Returns the value of attribute mk_slot.
-
.pinpad_type ⇒ Object
Returns the value of attribute pinpad_type.
-
.pinpad_wk ⇒ Object
Returns the value of attribute pinpad_wk.
-
.show_amout ⇒ Object
Returns the value of attribute show_amout.
-
.status ⇒ Object
Returns the value of attribute status.
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#info ⇒ Object
Returns the value of attribute info.
Class Method Summary collapse
- .close ⇒ Object
- .load_tables(acquirer) ⇒ Object
- .open(mk_slot, pinpad_type, pinpad_wk, show_amout) ⇒ Object
Instance Method Summary collapse
- #clean ⇒ Object
- #init ⇒ Object
- #parameters ⇒ Object
- #remove_card ⇒ Object
- #response ⇒ Object
- #timeout ⇒ Object
- #timeout=(seconds) ⇒ Object
Class Attribute Details
.mk_slot ⇒ Object
Returns the value of attribute mk_slot.
6 7 8 |
# File 'lib/device/transaction/emv.rb', line 6 def mk_slot @mk_slot end |
.pinpad_type ⇒ Object
Returns the value of attribute pinpad_type.
6 7 8 |
# File 'lib/device/transaction/emv.rb', line 6 def pinpad_type @pinpad_type end |
.pinpad_wk ⇒ Object
Returns the value of attribute pinpad_wk.
6 7 8 |
# File 'lib/device/transaction/emv.rb', line 6 def pinpad_wk @pinpad_wk end |
.show_amout ⇒ Object
Returns the value of attribute show_amout.
6 7 8 |
# File 'lib/device/transaction/emv.rb', line 6 def show_amout @show_amout end |
.status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/device/transaction/emv.rb', line 6 def status @status end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
9 10 11 |
# File 'lib/device/transaction/emv.rb', line 9 def data @data end |
#info ⇒ Object
Returns the value of attribute info.
9 10 11 |
# File 'lib/device/transaction/emv.rb', line 9 def info @info end |
Class Method Details
.close ⇒ Object
14 15 |
# File 'lib/device/transaction/emv.rb', line 14 def self.close end |
.load_tables(acquirer) ⇒ Object
17 18 |
# File 'lib/device/transaction/emv.rb', line 17 def self.load_tables(acquirer) end |
.open(mk_slot, pinpad_type, pinpad_wk, show_amout) ⇒ Object
11 12 |
# File 'lib/device/transaction/emv.rb', line 11 def self.open(mk_slot, pinpad_type, pinpad_wk, show_amout) end |
Instance Method Details
#clean ⇒ Object
20 21 22 23 |
# File 'lib/device/transaction/emv.rb', line 20 def clean @data = {:init => {}, :process => {}, :finish => {}} @info = {:init => {}, :process => {}, :finish => {}} end |
#init ⇒ Object
25 26 |
# File 'lib/device/transaction/emv.rb', line 25 def init end |
#parameters ⇒ Object
31 32 |
# File 'lib/device/transaction/emv.rb', line 31 def parameters end |
#remove_card ⇒ Object
40 41 |
# File 'lib/device/transaction/emv.rb', line 40 def remove_card end |
#response ⇒ Object
28 29 |
# File 'lib/device/transaction/emv.rb', line 28 def response end |
#timeout ⇒ Object
37 38 |
# File 'lib/device/transaction/emv.rb', line 37 def timeout end |
#timeout=(seconds) ⇒ Object
34 35 |
# File 'lib/device/transaction/emv.rb', line 34 def timeout=(seconds) end |