Class: Mailtrap::ContactList

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

Overview

Data Transfer Object for Contact List

Instance Attribute Summary collapse

Instance Attribute Details

#idInteger (readonly)

The contact list ID



8
9
10
# File 'lib/mailtrap/contact_list.rb', line 8

def id
  @id
end

#nameString (readonly)

The name of the contact list



8
9
10
# File 'lib/mailtrap/contact_list.rb', line 8

def name
  @name
end