Class: Railsmith::Generators::AssocSpec

Inherits:
Struct
  • Object
show all
Defined in:
lib/generators/railsmith/model_service/model_service_generator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#macroObject

Returns the value of attribute macro

Returns:

  • (Object)

    the current value of macro



9
10
11
# File 'lib/generators/railsmith/model_service/model_service_generator.rb', line 9

def macro
  @macro
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/generators/railsmith/model_service/model_service_generator.rb', line 9

def name
  @name
end

#service_class_nameObject

Returns the value of attribute service_class_name

Returns:

  • (Object)

    the current value of service_class_name



9
10
11
# File 'lib/generators/railsmith/model_service/model_service_generator.rb', line 9

def service_class_name
  @service_class_name
end

#service_existsObject

Returns the value of attribute service_exists

Returns:

  • (Object)

    the current value of service_exists



9
10
11
# File 'lib/generators/railsmith/model_service/model_service_generator.rb', line 9

def service_exists
  @service_exists
end