Class: Menard::PartnerPortalUploader::Result
- Inherits:
-
Data
- Object
- Data
- Menard::PartnerPortalUploader::Result
- Defined in:
- app/services/menard/partner_portal_uploader.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#screenshot_path ⇒ Object
readonly
Returns the value of attribute screenshot_path.
-
#uploaded ⇒ Object
readonly
Returns the value of attribute uploaded.
Instance Method Summary collapse
-
#initialize(uploaded: nil, message: nil, screenshot_path: nil) ⇒ Result
constructor
A new instance of Result.
- #uploaded? ⇒ Boolean
Constructor Details
#initialize(uploaded: nil, message: nil, screenshot_path: nil) ⇒ Result
Returns a new instance of Result.
27 |
# File 'app/services/menard/partner_portal_uploader.rb', line 27 def initialize(uploaded: nil, message: nil, screenshot_path: nil) = super |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message
26 27 28 |
# File 'app/services/menard/partner_portal_uploader.rb', line 26 def @message end |
#screenshot_path ⇒ Object (readonly)
Returns the value of attribute screenshot_path
26 27 28 |
# File 'app/services/menard/partner_portal_uploader.rb', line 26 def screenshot_path @screenshot_path end |
#uploaded ⇒ Object (readonly)
Returns the value of attribute uploaded
26 27 28 |
# File 'app/services/menard/partner_portal_uploader.rb', line 26 def uploaded @uploaded end |
Instance Method Details
#uploaded? ⇒ Boolean
28 |
# File 'app/services/menard/partner_portal_uploader.rb', line 28 def uploaded? = !!uploaded |