Class: ReeRoutes::Route
- Inherits:
-
Object
- Object
- ReeRoutes::Route
- Defined in:
- lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#override ⇒ Object
Returns the value of attribute override.
-
#path ⇒ Object
Returns the value of attribute path.
-
#request_method ⇒ Object
Returns the value of attribute request_method.
-
#respond_to ⇒ Object
Returns the value of attribute respond_to.
-
#route ⇒ Object
Returns the value of attribute route.
-
#sections ⇒ Object
Returns the value of attribute sections.
-
#serializer ⇒ Object
Returns the value of attribute serializer.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#warden_scope ⇒ Object
Returns the value of attribute warden_scope.
Instance Method Summary collapse
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
4 5 6 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 4 def action @action end |
#override ⇒ Object
Returns the value of attribute override.
4 5 6 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 4 def override @override end |
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 4 def path @path end |
#request_method ⇒ Object
Returns the value of attribute request_method.
4 5 6 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 4 def request_method @request_method end |
#respond_to ⇒ Object
Returns the value of attribute respond_to.
4 5 6 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 4 def respond_to @respond_to end |
#route ⇒ Object
Returns the value of attribute route.
4 5 6 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 4 def route @route end |
#sections ⇒ Object
Returns the value of attribute sections.
4 5 6 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 4 def sections @sections end |
#serializer ⇒ Object
Returns the value of attribute serializer.
4 5 6 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 4 def serializer @serializer end |
#summary ⇒ Object
Returns the value of attribute summary.
4 5 6 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 4 def summary @summary end |
#warden_scope ⇒ Object
Returns the value of attribute warden_scope.
4 5 6 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 4 def warden_scope @warden_scope end |
Instance Method Details
#valid? ⇒ Boolean
7 8 9 |
# File 'lib/ree_lib/packages/ree_routes/package/ree_routes/route.rb', line 7 def valid? !action.nil? && !summary.nil? && !warden_scope.nil? end |