class Alfabank::Response
Constants
- ORDER_STATUS_APPROVED
Attributes
data[R]
Public Class Methods
new(data)
click to toggle source
# File lib/alfabank/response.rb, line 7 def initialize(data) @data = data end
Public Instance Methods
approved?()
click to toggle source
# File lib/alfabank/response.rb, line 11 def approved? @data['orderStatus'] == ORDER_STATUS_APPROVED end