Class: OaAngularSetup::Configuration
- Inherits:
-
Object
- Object
- OaAngularSetup::Configuration
- Defined in:
- lib/oa_angular_setup.rb
Instance Attribute Summary collapse
-
#add_swaggger_ui ⇒ Object
Returns the value of attribute add_swaggger_ui.
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#create_app_js ⇒ Object
Returns the value of attribute create_app_js.
-
#create_controllers ⇒ Object
Returns the value of attribute create_controllers.
-
#create_factories ⇒ Object
Returns the value of attribute create_factories.
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#swagger_doc_url ⇒ Object
Returns the value of attribute swagger_doc_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
23 24 25 26 27 28 29 30 31 |
# File 'lib/oa_angular_setup.rb', line 23 def initialize @app_name = 'App' @create_factories = true @create_app_js = true @create_controllers = true @add_swaggger_ui = true @swagger_doc_url = "http://localhost:3000/api/swagger_doc" @destination = "/public/angular/" end |
Instance Attribute Details
#add_swaggger_ui ⇒ Object
Returns the value of attribute add_swaggger_ui.
20 21 22 |
# File 'lib/oa_angular_setup.rb', line 20 def add_swaggger_ui @add_swaggger_ui end |
#app_name ⇒ Object
Returns the value of attribute app_name.
20 21 22 |
# File 'lib/oa_angular_setup.rb', line 20 def app_name @app_name end |
#create_app_js ⇒ Object
Returns the value of attribute create_app_js.
20 21 22 |
# File 'lib/oa_angular_setup.rb', line 20 def create_app_js @create_app_js end |
#create_controllers ⇒ Object
Returns the value of attribute create_controllers.
20 21 22 |
# File 'lib/oa_angular_setup.rb', line 20 def create_controllers @create_controllers end |
#create_factories ⇒ Object
Returns the value of attribute create_factories.
20 21 22 |
# File 'lib/oa_angular_setup.rb', line 20 def create_factories @create_factories end |
#destination ⇒ Object
Returns the value of attribute destination.
20 21 22 |
# File 'lib/oa_angular_setup.rb', line 20 def destination @destination end |
#swagger_doc_url ⇒ Object
Returns the value of attribute swagger_doc_url.
20 21 22 |
# File 'lib/oa_angular_setup.rb', line 20 def swagger_doc_url @swagger_doc_url end |