Class: CapabilityTokens::Configuration

Inherits:
Struct
  • Object
show all
Defined in:
lib/capability_tokens/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_nameObject

Returns the value of attribute schema_name

Returns:

  • (Object)

    the current value of schema_name



2
3
4
# File 'lib/capability_tokens/configuration.rb', line 2

def schema_name
  @schema_name
end

Instance Method Details

#table_nameObject



7
8
9
# File 'lib/capability_tokens/configuration.rb', line 7

def table_name
  schema_name ? "#{schema_name}.capability_tokens" : "capability_tokens"
end