Sha256: 574544f1ae2491ca1f7bdebe1a1b5133fcd9e0c3980b7c0bb595ba9155a2375c

Contents?: true

Size: 237 Bytes

Versions: 8

Compression:

Stored size: 237 Bytes

Contents

require_relative 'json_base'

module CorePro
  module Models
    class ApiError < JsonBase
      attr_accessor :code
      attr_accessor :message

      def to_s
        "code: #{@code}, message: #{@message}"
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
corepro_fvr-1.0.9 lib/corepro/models/api_error.rb
corepro_eg-1.0.8 lib/corepro/models/api_error.rb
corepro_eg-1.0.7 lib/corepro/models/api_error.rb
corepro_eg-1.0.6 lib/corepro/models/api_error.rb
corepro_eg-1.0.5 lib/corepro/models/api_error.rb
corepro_eg-1.0.4 lib/corepro/models/api_error.rb
corepro_eg-1.0.3 lib/corepro/models/api_error.rb
corepro_eg-1.0.2 lib/corepro/models/api_error.rb