Class: RESTFramework::Controller::ActionSpec

Inherits:
Struct
  • Object
show all
Defined in:
lib/rest_framework/controller/actions.rb

Overview

Value object describing a routed action (builtin or user-declared).

Instance Attribute Summary collapse

Instance Attribute Details

#builtinObject

Returns the value of attribute builtin

Returns:

  • (Object)

    the current value of builtin



3
4
5
# File 'lib/rest_framework/controller/actions.rb', line 3

def builtin
  @builtin
end

#kwargsObject

Returns the value of attribute kwargs

Returns:

  • (Object)

    the current value of kwargs



3
4
5
# File 'lib/rest_framework/controller/actions.rb', line 3

def kwargs
  @kwargs
end

#metadataObject

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



3
4
5
# File 'lib/rest_framework/controller/actions.rb', line 3

def 
  @metadata
end

#methodsObject

Returns the value of attribute methods

Returns:

  • (Object)

    the current value of methods



3
4
5
# File 'lib/rest_framework/controller/actions.rb', line 3

def methods
  @methods
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/rest_framework/controller/actions.rb', line 3

def name
  @name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



3
4
5
# File 'lib/rest_framework/controller/actions.rb', line 3

def path
  @path
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



3
4
5
# File 'lib/rest_framework/controller/actions.rb', line 3

def type
  @type
end