Class: TentD::Model::PostAttachment
- Inherits:
-
Object
- Object
- TentD::Model::PostAttachment
- Includes:
- DataMapper::Resource
- Defined in:
- lib/tentd/model/post_attachment.rb
Instance Method Summary collapse
Instance Method Details
#as_json(options = {}) ⇒ Object
22 23 24 |
# File 'lib/tentd/model/post_attachment.rb', line 22 def as_json( = {}) super({ :exclude => [:id, :data, :post_id, :created_at, :updated_at] }.merge()) end |