Sha256: e5bd2bb594c1b0b2fb3531775f8caadafead3db0836f1ed3f526a501d0ddd15d

Contents?: true

Size: 464 Bytes

Versions: 5

Compression:

Stored size: 464 Bytes

Contents

require_relative '../../resource'

module CheckMobi
  module Resources
    module PhoneValidation
      class RequestValidation < Resource

        attributes :number, :type, :language, :notification_callback, :platform

        private

        def defaults
          super.merge!({
              rel_path: '/validation/request',
              http_method: ALLOWED_METHODS[1],
              form_data: to_hash
          })
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
check_mobi-1.0.5 lib/check_mobi/resources/phone_validation/request_validation.rb
check_mobi-1.0.4 lib/check_mobi/resources/phone_validation/request_validation.rb
check_mobi-1.0.3 lib/check_mobi/resources/phone_validation/request_validation.rb
check_mobi-1.0.2 lib/check_mobi/resources/phone_validation/request_validation.rb
check_mobi-1.0.1 lib/check_mobi/resources/phone_validation/request_validation.rb