Class: Mailtrap::Project
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::Project
- Defined in:
- lib/mailtrap/project.rb
Overview
Data Transfer Object for Project
Instance Attribute Summary collapse
-
#id ⇒ Integer
readonly
The project ID.
-
#inboxes ⇒ Array<Mailtrap::Inbox>
readonly
Array of inboxes.
-
#name ⇒ String
readonly
The project name.
-
#permissions ⇒ Hash
readonly
List of permissions.
-
#share_links ⇒ Hash
readonly
Admin and viewer share links.
Instance Attribute Details
#id ⇒ Integer (readonly)
The project ID
12 13 14 |
# File 'lib/mailtrap/project.rb', line 12 def id @id end |
#inboxes ⇒ Array<Mailtrap::Inbox> (readonly)
Array of inboxes
12 13 14 |
# File 'lib/mailtrap/project.rb', line 12 def inboxes @inboxes end |
#name ⇒ String (readonly)
The project name
12 13 14 |
# File 'lib/mailtrap/project.rb', line 12 def name @name end |
#permissions ⇒ Hash (readonly)
List of permissions
12 13 14 |
# File 'lib/mailtrap/project.rb', line 12 def end |
#share_links ⇒ Hash (readonly)
Admin and viewer share links
12 13 14 |
# File 'lib/mailtrap/project.rb', line 12 def share_links @share_links end |