Method: Contentful::Management::Space#roles

Defined in:
lib/contentful/management/space.rb

#rolesContentful::Management::SpaceRoleMethodsFactory

Allows manipulation of roles in context of the current space Allows listing all roles of space, creating new and finding one by ID.

Returns:

  • (Contentful::Management::SpaceRoleMethodsFactory)

See Also:

  • README for details.


158
159
160
# File 'lib/contentful/management/space.rb', line 158

def roles
  SpaceRoleMethodsFactory.new(self)
end