Sha256: cb32db9430ed60b7f97cd3bbb529cc6a0e3722e759ec54ea08faa8ac9ef6741b

Contents?: true

Size: 173 Bytes

Versions: 13

Compression:

Stored size: 173 Bytes

Contents

class Portmone::Responses::RefundOrderStatus < Portmone::Responses::OrderStatus
  def success?
    order.present? && error_code == '0' && order.status == 'RETURN'
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
portmone-0.0.16 lib/portmone/responses/refund_order_status.rb
portmone-0.0.15 lib/portmone/responses/refund_order_status.rb
portmone-0.0.14 lib/portmone/responses/refund_order_status.rb
portmone-0.0.13 lib/portmone/responses/refund_order_status.rb
portmone-0.0.12 lib/portmone/responses/refund_order_status.rb
portmone-0.0.11 lib/portmone/responses/refund_order_status.rb
portmone-0.0.10 lib/portmone/responses/refund_order_status.rb
portmone-0.0.9 lib/portmone/responses/refund_order_status.rb
portmone-0.0.8 lib/portmone/responses/refund_order_status.rb
portmone-0.0.7 lib/portmone/responses/refund_order_status.rb
portmone-0.0.6 lib/portmone/responses/refund_order_status.rb
portmone-0.0.5 lib/portmone/responses/refund_order_status.rb
portmone-0.0.4 lib/portmone/responses/refund_order_status.rb