Class: Redox::Models::Notes

Inherits:
AbstractModel show all
Defined in:
lib/redox/models/notes.rb

Constant Summary

Constants inherited from AbstractModel

AbstractModel::HIGH_LEVEL_KEYS

Instance Method Summary collapse

Methods inherited from AbstractModel

add_helpers, from_response, from_response_inflected, get_inflected_class, #insurances, #to_json

Instance Method Details

#noteObject



8
9
10
11
# File 'lib/redox/models/notes.rb', line 8

def note
  self[:Note] = Note.new(self[:Note]) unless self[:Note].is_a?(Redox::Models::Note)
  self[:Note] ||= Note.new
end