Class: Emailable::Verification

Inherits:
APIResource show all
Defined in:
lib/emailable/resources/verification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from APIResource

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from Emailable::APIResource

Instance Attribute Details

#accept_allObject

Returns the value of attribute accept_all.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def accept_all
  @accept_all
end

#did_you_meanObject

Returns the value of attribute did_you_mean.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def did_you_mean
  @did_you_mean
end

#disposableObject

Returns the value of attribute disposable.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def disposable
  @disposable
end

#domainObject

Returns the value of attribute domain.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def domain
  @domain
end

#durationObject

Returns the value of attribute duration.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def duration
  @duration
end

#emailObject

Returns the value of attribute email.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def first_name
  @first_name
end

#freeObject

Returns the value of attribute free.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def free
  @free
end

#full_nameObject

Returns the value of attribute full_name.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def full_name
  @full_name
end

#genderObject

Returns the value of attribute gender.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def gender
  @gender
end

#last_nameObject

Returns the value of attribute last_name.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def last_name
  @last_name
end

#mx_recordObject

Returns the value of attribute mx_record.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def mx_record
  @mx_record
end

#reasonObject

Returns the value of attribute reason.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def reason
  @reason
end

#roleObject

Returns the value of attribute role.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def role
  @role
end

#scoreObject

Returns the value of attribute score.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def score
  @score
end

#smtp_providerObject

Returns the value of attribute smtp_provider.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def smtp_provider
  @smtp_provider
end

#stateObject

Returns the value of attribute state.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def state
  @state
end

#tagObject

Returns the value of attribute tag.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def tag
  @tag
end

#userObject

Returns the value of attribute user.



3
4
5
# File 'lib/emailable/resources/verification.rb', line 3

def user
  @user
end

Instance Method Details

#inspectObject



14
15
16
17
# File 'lib/emailable/resources/verification.rb', line 14

def inspect
  "#<#{self.class}:0x#{(object_id << 1).to_s(16)}#{@email}> JSON: " +
    JSON.pretty_generate(to_h)
end