Sha256: 009331cd3b01ab3f8c9f97badb7f75c0ceff1a5f1f67eda294d31f2d8e1cb566

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

# coding: utf-8
# 用户 API 错误相关
module Reapal
  module Http
    module ErrorCode

      def self.contract_common
        ['0103']
      end

      def self.contract_create
        ['0101', '0102', '0103', '0104', '0105', '0106', '0107', '0108', '0109',
         '0110', '0111', '0112', '0113', '0114', '0115', '0116', '0117', '0118',
         '0119', '0120', '0121', '0122', '0123', '0124', '0125', '0126', '0127',
         '0128', '0129', '0130', '0131', '0132', '0150', '0151', '0152', '0153',
         '0154', '0155', '0156', '0157', '0158', '0159', '0160', '0161', '0162',
         '0163', '0164', '0165', '0166', '0167', '0525']
      end

      def self.contract_query
        ['0113']
      end

      def self.mobile
        @_mobile ||= ['1108']
      end

      def self.bind_card
        @_bind_card ||= %w(9060 9064 9065 9083 9084 9085 0017 0210 0302 0303 0328
                           0329 0330 0332 0333 0335 0339 0340 0341 0342 0343
                           0344 0345 0346 0347 0348 0350 0351 0352 0358 0359
                           0360 0362 0363)
      end

    end # module ErrorCode
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reapal-0.9.2 lib/reapal/http/error_code/user.rb
reapal-0.9.1 lib/reapal/http/error_code/user.rb
reapal-0.9.0 lib/reapal/http/error_code/user.rb