Class: Verifalia::EmailValidations::Request

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(entries, quality: nil, priority: nil, deduplication: nil, name: nil, retention: nil, callback: nil) ⇒ Request

Returns a new instance of Request.



37
38
39
40
41
42
43
44
45
# File 'lib/verifalia/email_validation/request.rb', line 37

def initialize(entries, quality: nil, priority: nil, deduplication: nil, name: nil, retention: nil, callback: nil)
  @entries = entries
  @quality = quality
  @priority = priority
  @deduplication = deduplication
  @name = name
  @retention = retention
  @callback = callback
end

Instance Attribute Details

#callbackObject

Returns the value of attribute callback.



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

def callback
  @callback
end

#deduplicationObject

Returns the value of attribute deduplication.



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

def deduplication
  @deduplication
end

#entriesObject

Returns the value of attribute entries.



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

def entries
  @entries
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#priorityObject

Returns the value of attribute priority.



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

def priority
  @priority
end

#qualityObject

Returns the value of attribute quality.



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

def quality
  @quality
end

#retentionObject

Returns the value of attribute retention.



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

def retention
  @retention
end