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.
384 385 386 387 388 389 390 |
# File 'lib/postproxy/types.rb', line 384 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.
382 383 384 |
# File 'lib/postproxy/types.rb', line 382 def deleting @deleting end |
#success ⇒ Object
Returns the value of attribute success.
382 383 384 |
# File 'lib/postproxy/types.rb', line 382 def success @success end |