Class: Mailtrap::Account

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

Overview

Data Transfer Object for Account

Instance Attribute Summary collapse

Instance Attribute Details

#access_levelsArray (readonly)

The account access levels

Returns:

  • (Array)

    the current value of access_levels



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

def access_levels
  @access_levels
end

#idInteger (readonly)

The account ID

Returns:

  • (Integer)

    the current value of id



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

def id
  @id
end

#nameString (readonly)

The account name

Returns:

  • (String)

    the current value of name



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

def name
  @name
end