Class: PostProxy::DeleteOnPlatformResponse
- Defined in:
- lib/postproxy/types.rb
Instance Attribute Summary collapse
-
#deleting ⇒ Object
Returns the value of attribute deleting.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ DeleteOnPlatformResponse
constructor
A new instance of DeleteOnPlatformResponse.
Methods inherited from Model
Constructor Details
#initialize(**attrs) ⇒ DeleteOnPlatformResponse
Returns a new instance of DeleteOnPlatformResponse.
497 498 499 500 501 502 503 |
# File 'lib/postproxy/types.rb', line 497 def initialize(**attrs) @deleting = [] super @deleting = (@deleting || []).map do |entry| entry.is_a?(DeletingPlatform) ? entry : DeletingPlatform.new(**entry) end end |
Instance Attribute Details
#deleting ⇒ Object
Returns the value of attribute deleting.
495 496 497 |
# File 'lib/postproxy/types.rb', line 495 def deleting @deleting end |
#success ⇒ Object
Returns the value of attribute success.
495 496 497 |
# File 'lib/postproxy/types.rb', line 495 def success @success end |