Class: Printers::RefreshPrinters::Result
- Inherits:
-
Data
- Object
- Data
- Printers::RefreshPrinters::Result
- Defined in:
- app/services/printers/refresh_printers.rb
Instance Attribute Summary collapse
-
#created ⇒ Object
readonly
Returns the value of attribute created.
-
#destroyed ⇒ Object
readonly
Returns the value of attribute destroyed.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#updated ⇒ Object
readonly
Returns the value of attribute updated.
Instance Method Summary collapse
-
#initialize(updated: nil, created: nil, destroyed: nil, errors: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(updated: nil, created: nil, destroyed: nil, errors: nil) ⇒ Result
Returns a new instance of Result.
3 |
# File 'app/services/printers/refresh_printers.rb', line 3 def initialize(updated: nil, created: nil, destroyed: nil, errors: nil) = super |
Instance Attribute Details
#created ⇒ Object (readonly)
Returns the value of attribute created
2 3 4 |
# File 'app/services/printers/refresh_printers.rb', line 2 def created @created end |
#destroyed ⇒ Object (readonly)
Returns the value of attribute destroyed
2 3 4 |
# File 'app/services/printers/refresh_printers.rb', line 2 def destroyed @destroyed end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors
2 3 4 |
# File 'app/services/printers/refresh_printers.rb', line 2 def errors @errors end |
#updated ⇒ Object (readonly)
Returns the value of attribute updated
2 3 4 |
# File 'app/services/printers/refresh_printers.rb', line 2 def updated @updated end |