Skip to content

Commit

Permalink
add params for notification
Browse files Browse the repository at this point in the history
  • Loading branch information
alexborovkov committed Apr 11, 2020
1 parent 0555b09 commit 1115ef4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tinkoff/notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module Tinkoff
class Notification
def initialize(params)
@data = params.slice('TerminalKey',
'CustomerKey',
'RequestKey',
'OrderId',
'Success',
'Status',
Expand All @@ -13,6 +15,7 @@ def initialize(params)
'Pan',
'Token',
'ExpDate',
'NotificationType',
'DATA')
@token_ok = authentic?
end
Expand Down

0 comments on commit 1115ef4

Please sign in to comment.