Class: CapabilityTokens::Configuration
- Inherits:
-
Struct
- Object
- Struct
- CapabilityTokens::Configuration
- Defined in:
- lib/capability_tokens/configuration.rb
Instance Attribute Summary collapse
-
#schema_name ⇒ Object
Returns the value of attribute schema_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #table_name ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
3 4 5 |
# File 'lib/capability_tokens/configuration.rb', line 3 def initialize self.schema_name = nil end |
Instance Attribute Details
#schema_name ⇒ Object
Returns the value of attribute schema_name
2 3 4 |
# File 'lib/capability_tokens/configuration.rb', line 2 def schema_name @schema_name end |
Instance Method Details
#table_name ⇒ Object
7 8 9 |
# File 'lib/capability_tokens/configuration.rb', line 7 def table_name schema_name ? "#{schema_name}.capability_tokens" : "capability_tokens" end |