Class: GetTestMail

Inherits:
BaseDTO show all
Defined in:
lib/models/get_test_mail.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseDTO

from_json, #from_json

Constructor Details

#initialize(json) ⇒ GetTestMail

Returns a new instance of GetTestMail.



7
8
9
10
11
12
13
# File 'lib/models/get_test_mail.rb', line 7

def initialize(json)
  super(json)

  if @message
    @message = Message.new(@message)
  end
end

Instance Attribute Details

#emailAddressObject

Returns the value of attribute emailAddress.



5
6
7
# File 'lib/models/get_test_mail.rb', line 5

def emailAddress
  @emailAddress
end

#expiresAtObject

Returns the value of attribute expiresAt.



5
6
7
# File 'lib/models/get_test_mail.rb', line 5

def expiresAt
  @expiresAt
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/models/get_test_mail.rb', line 5

def id
  @id
end

#messageObject

Returns the value of attribute message.



5
6
7
# File 'lib/models/get_test_mail.rb', line 5

def message
  @message
end