Module: Pupper::Model

Extended by:
ActiveSupport::Concern
Defined in:
lib/pupper/model.rb

Defined Under Namespace

Classes: NoSuchBackend

Instance Method Summary collapse

Instance Method Details

#to_jsonObject



69
70
71
# File 'lib/pupper/model.rb', line 69

def to_json(*)
  attributes.except(*excluded_attrs).to_json
end