Sha256: 005b6f61c9d345969581bf19242eb7437f20867d11d4aca2f75fb46fae72bf14

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

class VARIABLE < ApplicationRecord
  include Forcast::Model::Modelo
  include Forcast::Model::Permitirtodo
  include Forcast::Model::Busqueda
  include Forcast::Model::Asociar
  # include Forcast::Model::Login
  # include Forcast::Model::RuleEngine
  # include Forcast::Model::PaperTrail

  def init(params)
    # self.password=(params['password_hash'])
  end

  def self.parametros_necesario_create
    []
  end

  def self.parametros_a_validar_modelo_create
    # [{:param => 'tipo_valor', :validacion => 'validaciones_tipo_valor', :error => :bad_param_not_allow_type}]
    []
  end

  def self.parametros_a_validar_modelo_update
    # [{:param => 'tipo_valor', :validacion => 'validaciones_tipo_valor', :error => :bad_param_not_allow_type}]
    []
  end

  def self.parametros_permitido_asociar
    []
  end

  def self.parametros_a_comprobar_si_existen_create
    []
  end

  def self.parametros_a_comprobar_si_existen_update
    []
  end

  # def self.validaciones_tipo_valor(valor)
  #   return true unless ['string','integer','decimal'].include?(valor)
  # end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forcast-0.0.110 lib/forcast/tasks/schema/recips/model.rb