Class: RamConstraint

Inherits:
Constraint show all
Defined in:
app/models/ram_constraint.rb

Instance Method Summary collapse

Methods inherited from Base

ma_accessor, ma_reader, ma_writer, #serialize_more_attributes

Instance Method Details

#as_json(options = {}) ⇒ Object


2
3
4
5
6
# File 'app/models/ram_constraint.rb', line 2

def as_json(options={})
  hash = super
  hash[:min_ram] = self.min_ram
  hash
end