Class: Wurk::API::Router::Route

Inherits:
Struct
  • Object
show all
Defined in:
lib/wurk/api/router.rb

Instance Attribute Summary collapse

Instance Attribute Details

#handlerObject

Returns the value of attribute handler

Returns:

  • (Object)

    the current value of handler



22
23
24
# File 'lib/wurk/api/router.rb', line 22

def handler
  @handler
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



22
23
24
# File 'lib/wurk/api/router.rb', line 22

def scope
  @scope
end

#segmentsObject

Returns the value of attribute segments

Returns:

  • (Object)

    the current value of segments



22
23
24
# File 'lib/wurk/api/router.rb', line 22

def segments
  @segments
end

#verbObject

Returns the value of attribute verb

Returns:

  • (Object)

    the current value of verb



22
23
24
# File 'lib/wurk/api/router.rb', line 22

def verb
  @verb
end