Class: ShipEngine::Domain::Labels::VoidLabel::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/shipengine/domain/labels/void_label.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = message
end

Instance Attribute Details

#approvedObject (readonly)

Returns the value of attribute approved.



8
9
10
# File 'lib/shipengine/domain/labels/void_label.rb', line 8

def approved
  @approved
end

#messageObject (readonly)

Returns the value of attribute message.



8
9
10
# File 'lib/shipengine/domain/labels/void_label.rb', line 8

def message
  @message
end