Sha256: db959b4f5956ffb77ca36aaaf03b05fde78134335780da93fa23ce6c97deb951

Contents?: true

Size: 391 Bytes

Versions: 6

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

require 'valvat/error'
require 'valvat/local'
require 'valvat/lookup'
require 'valvat/lookup/request'
require 'valvat/lookup/response'
require 'valvat/lookup/fault'
require 'active_model/validations/valvat_validator' if defined?(ActiveModel)

class Valvat
  def exists?(options = {})
    Valvat::Lookup.validate(self, options)
  end
  alias exist? exists?
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
valvat-1.1.5 lib/valvat.rb
valvat-1.1.4 lib/valvat.rb
valvat-1.1.3 lib/valvat.rb
valvat-1.1.2 lib/valvat.rb
valvat-1.1.1 lib/valvat.rb
valvat-1.1.0 lib/valvat.rb