Class: PostProxy::DeleteOnPlatformResponse

Inherits:
Model
  • Object
show all
Defined in:
lib/postproxy/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Model

#to_h

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

#deletingObject

Returns the value of attribute deleting.



338
339
340
# File 'lib/postproxy/types.rb', line 338

def deleting
  @deleting
end

#successObject

Returns the value of attribute success.



338
339
340
# File 'lib/postproxy/types.rb', line 338

def success
  @success
end