Sha256: c9cf6fa8f004121a973d2c65177342fa5effd19c88af70b7a5275437383af76b

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

module SquareEvent
  class SquareEventError < StandardError

    attr_reader :message
    attr_reader :http_body

    def initialize(message = nil, http_body: nil)
      @message = message
      @http_body = http_body
    end

  end

  class SignatureVerificationError < SquareEventError
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
square_event-1.0.2 lib/square_event/errors.rb
square_event-1.0.1 lib/square_event/errors.rb
square_event-1.0.0 lib/square_event/errors.rb