Class: QRAPI::BaseModel

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Serialization
Defined in:
lib/qrapi/models/base_model.rb

Instance Method Summary collapse

Instance Method Details

#created_atObject



14
15
16
# File 'lib/qrapi/models/base_model.rb', line 14

def created_at
  nil
end

#inspectObject



9
10
11
12
# File 'lib/qrapi/models/base_model.rb', line 9

def inspect
  values = Hash[instance_variables.map { |name| [name, instance_variable_get(name)] }]
  "<#{self.class.name} #{values}>"
end

#updated_atObject



18
19
20
# File 'lib/qrapi/models/base_model.rb', line 18

def updated_at
  nil
end