mirror of
https://github.com/ditkrg/schemable.git
synced 2026-01-22 22:26:41 +00:00
Fixes rubocop offenses
This commit is contained in:
parent
9b7c7d492f
commit
9aba52bca4
@ -41,7 +41,6 @@ Schemable.configure do |config|
|
|||||||
#
|
#
|
||||||
# config.infer_attributes_from_custom_method = nil
|
# config.infer_attributes_from_custom_method = nil
|
||||||
|
|
||||||
|
|
||||||
# If you want to get the list of attributes from the jsonapi-rails gem's
|
# If you want to get the list of attributes from the jsonapi-rails gem's
|
||||||
# JSONAPI::Serializable::Resource class, set this option to true.
|
# JSONAPI::Serializable::Resource class, set this option to true.
|
||||||
# It uses the attribute_blocks method to get the list of attributes.
|
# It uses the attribute_blocks method to get the list of attributes.
|
||||||
@ -66,7 +65,6 @@ Schemable.configure do |config|
|
|||||||
#
|
#
|
||||||
# config.custom_defined_enum_method = nil
|
# config.custom_defined_enum_method = nil
|
||||||
|
|
||||||
|
|
||||||
# If you use mongoid and simple_enum gem, you can set the below options to the prefix and suffix
|
# If you use mongoid and simple_enum gem, you can set the below options to the prefix and suffix
|
||||||
# Since simple_enum uses the prefix and suffix to generate the enum methods, and the fields' names
|
# Since simple_enum uses the prefix and suffix to generate the enum methods, and the fields' names
|
||||||
# are usually the enum name with the prefix and suffix, the gem will remove the prefix and suffix
|
# are usually the enum name with the prefix and suffix, the gem will remove the prefix and suffix
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user