Sha256: 77da59f5f97c50693a60533be65184deb43d826ed2581e1ccf54a034172fd22c

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

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_method :exist?, :exists?
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
valvat-1.0.1 lib/valvat.rb
valvat-1.0.0 lib/valvat.rb