Exception: Marty::DataGridView::SaveGrid::GridError
- Inherits:
-
StandardError
- Object
- StandardError
- Marty::DataGridView::SaveGrid::GridError
- Defined in:
- app/services/marty/data_grid_view/save_grid.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(msg, data, id) ⇒ GridError
constructor
A new instance of GridError.
- #message ⇒ Object
Constructor Details
#initialize(msg, data, id) ⇒ GridError
Returns a new instance of GridError.
6 7 8 9 10 |
# File 'app/services/marty/data_grid_view/save_grid.rb', line 6 def initialize(msg, data, id) @msg = msg @data = data @id = id end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'app/services/marty/data_grid_view/save_grid.rb', line 5 def data @data end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'app/services/marty/data_grid_view/save_grid.rb', line 5 def id @id end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'app/services/marty/data_grid_view/save_grid.rb', line 12 def "save_grid: #{@msg}" end |