Class: Mobility::Backends::Sequel::KeyValue::QualifiedIdentifier

Inherits:
Sequel::SQL::QualifiedIdentifier
  • Object
show all
Defined in:
lib/mobility/backends/sequel/key_value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table, column, locale, backend_class, attribute_name) ⇒ QualifiedIdentifier

Returns a new instance of QualifiedIdentifier.



224
225
226
227
228
229
# File 'lib/mobility/backends/sequel/key_value.rb', line 224

def initialize(table, column, locale, backend_class, attribute_name)
  @backend_class = backend_class
  @locale = locale
  @attribute_name = attribute_name || column
  super(table, column)
end

Instance Attribute Details

#attribute_nameObject (readonly)

Returns the value of attribute attribute_name.



222
223
224
# File 'lib/mobility/backends/sequel/key_value.rb', line 222

def attribute_name
  @attribute_name
end

#backend_classObject (readonly)

Returns the value of attribute backend_class.



222
223
224
# File 'lib/mobility/backends/sequel/key_value.rb', line 222

def backend_class
  @backend_class
end

#localeObject (readonly)

Returns the value of attribute locale.



222
223
224
# File 'lib/mobility/backends/sequel/key_value.rb', line 222

def locale
  @locale
end