Module: Sequel::Plugins::PgAutoValidateEnums::ClassMethods
- Defined in:
- lib/sequel/plugins/pg_auto_validate_enums.rb
Instance Attribute Summary collapse
-
#pg_auto_validate_enums_metadata ⇒ Object
readonly
Hash with enum column symbol values and arrays of valid string values.
-
#pg_auto_validate_enums_opts ⇒ Object
readonly
Options to pass to the validates_includes calls used by the plugin.
Instance Attribute Details
#pg_auto_validate_enums_metadata ⇒ Object (readonly)
Hash with enum column symbol values and arrays of valid string values.
48 49 50 |
# File 'lib/sequel/plugins/pg_auto_validate_enums.rb', line 48 def @pg_auto_validate_enums_metadata end |
#pg_auto_validate_enums_opts ⇒ Object (readonly)
Options to pass to the validates_includes calls used by the plugin.
51 52 53 |
# File 'lib/sequel/plugins/pg_auto_validate_enums.rb', line 51 def pg_auto_validate_enums_opts @pg_auto_validate_enums_opts end |