Class: Her::Collection
- Inherits:
-
Object
- Object
- Her::Collection
- Defined in:
- lib/userbin/models/model.rb
Instance Method Summary collapse
-
#to_json ⇒ Object
Call the overridden to_json in Userbin::Model.
Instance Method Details
#to_json ⇒ Object
Call the overridden to_json in Userbin::Model
5 6 7 |
# File 'lib/userbin/models/model.rb', line 5 def to_json self.map { |m| m.to_json } end |