Module: RailsBaseApiScaffold::Generators::GeneratorHelpers

Included in:
ControllerGenerator, SerializerGenerator
Defined in:
lib/generators/rails_base_api_scaffold/generator_helpers.rb

Overview

Some helpers for generating scaffolding

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



5
6
7
# File 'lib/generators/rails_base_api_scaffold/generator_helpers.rb', line 5

def attributes
  @attributes
end

#optionsObject

Returns the value of attribute options.



5
6
7
# File 'lib/generators/rails_base_api_scaffold/generator_helpers.rb', line 5

def options
  @options
end