Class: ConfigurationOption

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/configuration_option.rb

Instance Method Summary collapse

Instance Method Details

#to_js_hashObject



12
13
14
15
16
17
18
19
20
21
22
# File 'app/models/configuration_option.rb', line 12

def to_js_hash
  {
    :id => self.id,
    :value => self.value,
    :description => self.description,
    :internalIdentifier => self.internal_identifier,
    :comment => self.comment,
    :createdAt => self.created_at,
    :updatedAt => self.updated_at
  }
end