Class: Pendaxes::Reporter::JSON
- Inherits:
-
Pendaxes::Reporter
- Object
- Pendaxes::Reporter
- Pendaxes::Reporter::JSON
- Defined in:
- lib/pendaxes/reporters/json.rb
Instance Method Summary collapse
Methods inherited from Pendaxes::Reporter
Methods included from Defaults
Methods included from Finder
Methods included from PendingManager
#add, #all_pendings, #pendings, #reset
Constructor Details
This class inherits a constructor from Pendaxes::Reporter
Instance Method Details
#report ⇒ Object
7 8 9 |
# File 'lib/pendaxes/reporters/json.rb', line 7 def report {pendings: pendings.sort_by{|x| x[:commit][:at] }}.to_json end |