Sha256: f25cd2bb72d9bff6eb4258dd5e86381b7bb2e9b049471a98c03801dc2789561b

Contents?: true

Size: 275 Bytes

Versions: 3

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

HasStates.configure do |config|
  # Configure your models here
  # Example:
  #
  # config.configure_model User do |model|
  #   model.state_type :kyc do |type|
  #     type.statuses = ['pending', 'completed', 'rejected']
  #   end
  # end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stateful_models-0.0.3 spec/tmp/config/initializers/has_states.rb
stateful_models-0.0.2 spec/tmp/config/initializers/has_states.rb
stateful_models-0.0.1 spec/tmp/config/initializers/has_states.rb