Class: Endpoint

Inherits:
Struct
  • Object
show all
Defined in:
lib/chaplin/endpoint.rb

Instance Attribute Summary collapse

Instance Attribute Details

#http_methodObject

Returns the value of attribute http_method

Returns:

  • (Object)

    the current value of http_method



1
2
3
# File 'lib/chaplin/endpoint.rb', line 1

def http_method
  @http_method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



1
2
3
# File 'lib/chaplin/endpoint.rb', line 1

def path
  @path
end