Class: Adminterface::Data::Base
- Inherits:
-
Object
- Object
- Adminterface::Data::Base
- Defined in:
- lib/adminterface/data/base.rb
Class Method Summary collapse
Class Method Details
.call(*args) ⇒ Object
4 5 6 7 8 |
# File 'lib/adminterface/data/base.rb', line 4 def self.call(*args) new(*args).call rescue => e {error: e.class.to_s, message: e.} end |