Class: Karst::Web::Badge::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/karst/web/badge.rb

Instance Attribute Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



27
28
29
# File 'lib/karst/web/badge.rb', line 27

def action
  @action
end

#controllerObject

Returns the value of attribute controller

Returns:

  • (Object)

    the current value of controller



27
28
29
# File 'lib/karst/web/badge.rb', line 27

def controller
  @controller
end

#http_methodObject

Returns the value of attribute http_method

Returns:

  • (Object)

    the current value of http_method



27
28
29
# File 'lib/karst/web/badge.rb', line 27

def http_method
  @http_method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



27
28
29
# File 'lib/karst/web/badge.rb', line 27

def path
  @path
end