Module: RestApiGenerator::Helpers
- Included in:
- ResourceGenerator, Spec::RspecGenerator, Spec::RswagGenerator
- Defined in:
- lib/rest_api_generator/helpers/render.rb,
lib/generators/rest_api_generator/helpers.rb
Defined Under Namespace
Classes: Render
Constant Summary collapse
- API_CONTROLLER_DIR_PATH =
"app/controllers"
- API_TEST_DIR_PATH =
RestApiGenerator.configuration.test_path
- API_DOCS_DIR_PATH =
RestApiGenerator.configuration.docs_path
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/generators/rest_api_generator/helpers.rb', line 5 def attributes @attributes end |
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/generators/rest_api_generator/helpers.rb', line 5 def @options end |