Class: Signpost::Endpoint::Resolver::Result

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

Overview

Class: result of resolving

Here is ‘#endpoint` is an endpoint class and `#params` is a hash with controller and action names

Instance Attribute Summary collapse

Instance Attribute Details

#endpointObject

Returns the value of attribute endpoint

Returns:

  • (Object)

    the current value of endpoint



12
13
14
# File 'lib/signpost/endpoint/resolver.rb', line 12

def endpoint
  @endpoint
end

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



12
13
14
# File 'lib/signpost/endpoint/resolver.rb', line 12

def params
  @params
end