Class: Ruby::Text2sql::Configuration
- Inherits:
-
Object
- Object
- Ruby::Text2sql::Configuration
- Defined in:
- lib/ruby/text2sql.rb
Instance Attribute Summary collapse
-
#allowed_actions ⇒ Object
Returns the value of attribute allowed_actions.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 |
# File 'lib/ruby/text2sql.rb', line 15 def initialize @allowed_actions = [:select] end |
Instance Attribute Details
#allowed_actions ⇒ Object
Returns the value of attribute allowed_actions.
13 14 15 |
# File 'lib/ruby/text2sql.rb', line 13 def allowed_actions @allowed_actions end |