Sha256: 299dc2f3eb158fdd2b02ebf67b635293ef9863cf8890bf1d2b3917e085c19ec2

Contents?: true

Size: 1.14 KB

Versions: 4

Compression:

Stored size: 1.14 KB

Contents

module TestContexts
  class ApprovedContext
    def initialize(response, obj)
      # do nothing, just testing
    end

    def handle
      # do nothing, just testing
    end
  end

  class PendingContext
    def initialize(response, obj)
      # do nothing, just testing
    end

    def handle
      # do nothing, just testing
    end
  end

  class InProcessContext
    def initialize(response, obj)
      # do nothing, just testing
    end

    def handle
      # do nothing, just testing
    end
  end

  class InMediationContext
    def initialize(response, obj)
      # do nothing, just testing
    end

    def handle
      # do nothing, just testing
    end
  end

  class RejectedContext
    def initialize(response, obj)
      # do nothing, just testing
    end

    def handle
      # do nothing, just testing
    end
  end

  class RefundedContext
    def initialize(response, obj)
      # do nothing, just testing
    end

    def handle
      # do nothing, just testing
    end
  end

  class CancelledContext
    def initialize(response, obj)
      # do nothing, just testing
    end

    def handle
      # do nothing, just testing
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mercado_pago_rails-0.1.3 spec/test_contexts.rb
mercado_pago_rails-0.1.2 spec/test_contexts.rb
mercado_pago_rails-0.1.1 spec/test_contexts.rb
mercado_pago_rails-0.1.0 spec/test_contexts.rb