Class: ShipEngine::Domain::Labels::VoidLabel::Response
- Inherits:
-
Object
- Object
- ShipEngine::Domain::Labels::VoidLabel::Response
- Defined in:
- lib/shipengine/domain/labels/void_label.rb
Instance Attribute Summary collapse
-
#approved ⇒ Object
readonly
Returns the value of attribute approved.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(approved:, message:) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(approved:, message:) ⇒ Response
Returns a new instance of Response.
10 11 12 13 |
# File 'lib/shipengine/domain/labels/void_label.rb', line 10 def initialize(approved:, message:) @approved = approved @message = end |
Instance Attribute Details
#approved ⇒ Object (readonly)
Returns the value of attribute approved.
8 9 10 |
# File 'lib/shipengine/domain/labels/void_label.rb', line 8 def approved @approved end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
8 9 10 |
# File 'lib/shipengine/domain/labels/void_label.rb', line 8 def @message end |