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.



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

#deletingObject

Returns the value of attribute deleting.



495
496
497
# File 'lib/postproxy/types.rb', line 495

def deleting
  @deleting
end

#successObject

Returns the value of attribute success.



495
496
497
# File 'lib/postproxy/types.rb', line 495

def success
  @success
end