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



20
21
22
# File 'lib/karst/web/badge.rb', line 20

def action
  @action
end

#controllerObject

Returns the value of attribute controller

Returns:

  • (Object)

    the current value of controller



20
21
22
# File 'lib/karst/web/badge.rb', line 20

def controller
  @controller
end

#http_methodObject

Returns the value of attribute http_method

Returns:

  • (Object)

    the current value of http_method



20
21
22
# File 'lib/karst/web/badge.rb', line 20

def http_method
  @http_method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



20
21
22
# File 'lib/karst/web/badge.rb', line 20

def path
  @path
end