Class: Mailtrap::SubAccount

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

Overview

Data Transfer Object for an organization sub account

Instance Attribute Summary collapse

Instance Attribute Details

#idInteger (readonly)

The sub account ID

Returns:

  • (Integer)

    the current value of id



7
8
9
# File 'lib/mailtrap/sub_account.rb', line 7

def id
  @id
end

#nameString (readonly)

The sub account name

Returns:

  • (String)

    the current value of name



7
8
9
# File 'lib/mailtrap/sub_account.rb', line 7

def name
  @name
end