Class: CrowiModelBase

Inherits:
Object
  • Object
show all
Defined in:
lib/crowi/client/model/crowi_model_base.rb

Overview

Crowi model base class

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ CrowiModelBase

Constractor



5
6
7
8
9
# File 'lib/crowi/client/model/crowi_model_base.rb', line 5

def initialize(params = {})
  params.each do |k,v|
    instance_variable_set(:"@#{k}", v)
  end
end