Class: Mailtrap::AccountAccess
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::AccountAccess
- Defined in:
- lib/mailtrap/account_access.rb
Overview
Data Transfer Object for AccountAccess
Instance Attribute Summary collapse
-
#id ⇒ Integer
readonly
The access ID.
-
#permissions ⇒ Hash
readonly
The permissions granted.
-
#resources ⇒ Array<Hash>
readonly
The resources this access applies to.
-
#specifier ⇒ Hash
readonly
The specifier for the access.
-
#specifier_type ⇒ String
readonly
The type of the specifier.
Instance Attribute Details
#id ⇒ Integer (readonly)
The access ID
12 13 14 |
# File 'lib/mailtrap/account_access.rb', line 12 def id @id end |
#permissions ⇒ Hash (readonly)
The permissions granted
12 13 14 |
# File 'lib/mailtrap/account_access.rb', line 12 def @permissions end |
#resources ⇒ Array<Hash> (readonly)
The resources this access applies to
12 13 14 |
# File 'lib/mailtrap/account_access.rb', line 12 def resources @resources end |
#specifier ⇒ Hash (readonly)
The specifier for the access
12 13 14 |
# File 'lib/mailtrap/account_access.rb', line 12 def specifier @specifier end |
#specifier_type ⇒ String (readonly)
The type of the specifier
12 13 14 |
# File 'lib/mailtrap/account_access.rb', line 12 def specifier_type @specifier_type end |