Method: Eloqua::RemoteObject#save
- Defined in:
- lib/eloqua/remote_object.rb
#save(options = {}) ⇒ Object Also known as: save!
123 124 125 126 127 128 129 130 131 132 |
# File 'lib/eloqua/remote_object.rb', line 123 def save( = {}) if(valid?) run_callbacks :save do (persisted?) ? update : create end true else false end end |