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

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



5
6
7
# File 'lib/generators/rest_api_generator/helpers.rb', line 5

def attributes
  @attributes
end

#optionsObject

Returns the value of attribute options.



5
6
7
# File 'lib/generators/rest_api_generator/helpers.rb', line 5

def options
  @options
end