Class: Mailtrap::AccountAccess

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

Overview

Data Transfer Object for AccountAccess

Instance Attribute Summary collapse

Instance Attribute Details

#idInteger (readonly)

The access ID

Returns:

  • (Integer)

    the current value of id



12
13
14
# File 'lib/mailtrap/account_access.rb', line 12

def id
  @id
end

#permissionsHash (readonly)

The permissions granted

Returns:

  • (Hash)

    the current value of permissions



12
13
14
# File 'lib/mailtrap/account_access.rb', line 12

def permissions
  @permissions
end

#resourcesArray<Hash> (readonly)

The resources this access applies to

Returns:

  • (Array<Hash>)

    the current value of resources



12
13
14
# File 'lib/mailtrap/account_access.rb', line 12

def resources
  @resources
end

#specifierHash (readonly)

The specifier for the access

Returns:

  • (Hash)

    the current value of specifier



12
13
14
# File 'lib/mailtrap/account_access.rb', line 12

def specifier
  @specifier
end

#specifier_typeString (readonly)

The type of the specifier

Returns:

  • (String)

    the current value of specifier_type



12
13
14
# File 'lib/mailtrap/account_access.rb', line 12

def specifier_type
  @specifier_type
end