Class: Verifalia::EmailValidations::CompletionCallback

Inherits:
Object
  • Object
show all
Defined in:
lib/verifalia/email_validation/completion_callback.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url, version = nil, skip_server_certificate_validation = false) ⇒ CompletionCallback

Returns a new instance of CompletionCallback.



37
38
39
40
41
# File 'lib/verifalia/email_validation/completion_callback.rb', line 37

def initialize(url, version = nil, skip_server_certificate_validation = false)
  @url = url
  @version = version
  @skip_server_certificate_validation = skip_server_certificate_validation
end

Instance Attribute Details

#skip_server_certificate_validationObject

Returns the value of attribute skip_server_certificate_validation.



35
36
37
# File 'lib/verifalia/email_validation/completion_callback.rb', line 35

def skip_server_certificate_validation
  @skip_server_certificate_validation
end

#urlObject

Returns the value of attribute url.



35
36
37
# File 'lib/verifalia/email_validation/completion_callback.rb', line 35

def url
  @url
end

#versionObject

Returns the value of attribute version.



35
36
37
# File 'lib/verifalia/email_validation/completion_callback.rb', line 35

def version
  @version
end