Class: Kanbanery::Base
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Kanbanery::Base
- Defined in:
- lib/ranbanery/base.rb
Instance Method Summary collapse
Instance Method Details
#to_json(options = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/ranbanery/base.rb', line 6 def to_json(={}) except = self.class.readonly_fields except << :created_at except << :updated_at super(.merge(except: except)) end |