Class: TinyAdmin::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/tiny_admin/context.rb

Instance Attribute Summary collapse

Instance Attribute Details

#actionsObject

Returns the value of attribute actions

Returns:

  • (Object)

    the current value of actions



4
5
6
# File 'lib/tiny_admin/context.rb', line 4

def actions
  @actions
end

#referenceObject

Returns the value of attribute reference

Returns:

  • (Object)

    the current value of reference



4
5
6
# File 'lib/tiny_admin/context.rb', line 4

def reference
  @reference
end

#repositoryObject

Returns the value of attribute repository

Returns:

  • (Object)

    the current value of repository



4
5
6
# File 'lib/tiny_admin/context.rb', line 4

def repository
  @repository
end

#requestObject

Returns the value of attribute request

Returns:

  • (Object)

    the current value of request



4
5
6
# File 'lib/tiny_admin/context.rb', line 4

def request
  @request
end

#routerObject

Returns the value of attribute router

Returns:

  • (Object)

    the current value of router



4
5
6
# File 'lib/tiny_admin/context.rb', line 4

def router
  @router
end

#slugObject

Returns the value of attribute slug

Returns:

  • (Object)

    the current value of slug



4
5
6
# File 'lib/tiny_admin/context.rb', line 4

def slug
  @slug
end