Class: Crashdesk::Reporters::Screen
- Inherits:
-
Object
- Object
- Crashdesk::Reporters::Screen
- Defined in:
- lib/crashdesk/reporters/screen.rb
Instance Method Summary collapse
-
#initialize(params = nil) ⇒ Screen
constructor
A new instance of Screen.
- #run(data) ⇒ Object
Constructor Details
#initialize(params = nil) ⇒ Screen
Returns a new instance of Screen.
6 7 |
# File 'lib/crashdesk/reporters/screen.rb', line 6 def initialize(params = nil) end |
Instance Method Details
#run(data) ⇒ Object
9 10 11 |
# File 'lib/crashdesk/reporters/screen.rb', line 9 def run(data) data.to_json.to_s end |