Class: RailsObservatory::MailDelivery
- Inherits:
-
RedisModel
- Object
- RedisModel
- RailsObservatory::MailDelivery
- Defined in:
- lib/rails_observatory/models/mail_delivery.rb
Constant Summary
Constants inherited from RedisModel
RedisModel::ATTRIBUTE_TYPE_TO_REDIS_TYPE
Instance Method Summary collapse
Methods inherited from RedisModel
all, attribute, #attribute_names_for_serialization, count, create_redis_index, ensure_index, find, index_info, index_name, key_name, key_prefix, redis, #redis, #save
Instance Method Details
#from=(val) ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/rails_observatory/models/mail_delivery.rb', line 24 def from=(val) if val.is_a?(Array) super(val.join(', ')) else super end end |
#to=(val) ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/rails_observatory/models/mail_delivery.rb', line 16 def to=(val) if val.is_a?(Array) super(val.join(', ')) else super end end |