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.
340 341 342 343 344 345 346 |
# File 'lib/postproxy/types.rb', line 340 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.
338 339 340 |
# File 'lib/postproxy/types.rb', line 338 def deleting @deleting end |
#success ⇒ Object
Returns the value of attribute success.
338 339 340 |
# File 'lib/postproxy/types.rb', line 338 def success @success end |