myfreecomm/rexpense-client-ruby

View on GitHub
lib/rexpense/exception.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Rexpense
  class Exception < StandardError
    attr_accessor :code, :body

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