Class: Mailtrap::InboundInbox

Inherits:
Struct
  • Object
show all
Defined in:
lib/mailtrap/inbound_inbox.rb

Overview

Data Transfer Object for an inbound inbox

Instance Attribute Summary collapse

Instance Attribute Details

#addressString (readonly)

The inbox's inbound address

Returns:

  • (String)

    the current value of address



10
11
12
# File 'lib/mailtrap/inbound_inbox.rb', line 10

def address
  @address
end

#domain_idInteger (readonly)

The sending domain the inbox is attached to

Returns:

  • (Integer)

    the current value of domain_id



10
11
12
# File 'lib/mailtrap/inbound_inbox.rb', line 10

def domain_id
  @domain_id
end

#idInteger (readonly)

The inbox ID

Returns:

  • (Integer)

    the current value of id



10
11
12
# File 'lib/mailtrap/inbound_inbox.rb', line 10

def id
  @id
end

#nameString (readonly)

The inbox name

Returns:

  • (String)

    the current value of name



10
11
12
# File 'lib/mailtrap/inbound_inbox.rb', line 10

def name
  @name
end