Class: Mailtrap::EmailLogsListResponse

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

Overview

Response from listing email logs (paginated)

Instance Attribute Summary collapse

Instance Attribute Details

#messagesArray<EmailLogMessage> (readonly)

Page of message summaries

Returns:



9
10
11
# File 'lib/mailtrap/email_logs_list_response.rb', line 9

def messages
  @messages
end

#next_page_cursorString? (readonly)

Message UUID to use as search_after for next page, or nil

Returns:

  • (String, nil)

    the current value of next_page_cursor



9
10
11
# File 'lib/mailtrap/email_logs_list_response.rb', line 9

def next_page_cursor
  @next_page_cursor
end

#total_countInteger (readonly)

Total number of messages matching filters

Returns:

  • (Integer)

    the current value of total_count



9
10
11
# File 'lib/mailtrap/email_logs_list_response.rb', line 9

def total_count
  @total_count
end