Sha256: f288312496a0ad9cd1701de06585b6470dbf2d9313898c1c5e44881108964b4c

Contents?: true

Size: 212 Bytes

Versions: 36

Compression:

Stored size: 212 Bytes

Contents

module Billimatic
  class Exception < StandardError
    attr_accessor :code, :body

    def initialize(args = {})
      super(args[:message])
      @code = args[:code]
      @body = args[:body]
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
billimatic-client-1.0.1 lib/billimatic/exception.rb
billimatic-client-1.0.0 lib/billimatic/exception.rb
billimatic-client-0.22.1 lib/billimatic/exception.rb
billimatic-client-0.22.0 lib/billimatic/exception.rb
billimatic-client-0.21.0 lib/billimatic/exception.rb
billimatic-client-0.20.0 lib/billimatic/exception.rb
billimatic-client-0.19.1 lib/billimatic/exception.rb
billimatic-client-0.19.0 lib/billimatic/exception.rb
billimatic-client-0.18.1 lib/billimatic/exception.rb
billimatic-client-0.18.0 lib/billimatic/exception.rb
billimatic-client-0.17.0 lib/billimatic/exception.rb
billimatic-client-0.16.0 lib/billimatic/exception.rb
billimatic-client-0.15.0 lib/billimatic/exception.rb
billimatic-client-0.14.1 lib/billimatic/exception.rb
billimatic-client-0.14.0 lib/billimatic/exception.rb
billimatic-client-0.13.0 lib/billimatic/exception.rb
billimatic-client-0.12.0 lib/billimatic/exception.rb
billimatic-client-0.11.3 lib/billimatic/exception.rb
billimatic-client-0.11.2 lib/billimatic/exception.rb
billimatic-client-0.11.1 lib/billimatic/exception.rb