Class: ActionDispatch::Routing::RouteSet::Config

Inherits:
Struct show all
Defined in:
actionpack/lib/action_dispatch/routing/route_set.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#api_onlyObject

Returns the value of attribute api_only

Returns:

  • (Object)

    the current value of api_only


362
363
364
# File 'actionpack/lib/action_dispatch/routing/route_set.rb', line 362

def api_only
  @api_only
end

#relative_url_rootObject

Returns the value of attribute relative_url_root

Returns:

  • (Object)

    the current value of relative_url_root


362
363
364
# File 'actionpack/lib/action_dispatch/routing/route_set.rb', line 362

def relative_url_root
  @relative_url_root
end