Class: FuelSDK::ET_CUDSupport

Inherits:
ET_GetSupport show all
Defined in:
lib/new.rb

Instance Attribute Summary

Attributes inherited from ET_GetSupport

#filter

Attributes inherited from ET_BaseObject

#authStub, #endpoint, #lastRequestID, #obj, #props

Instance Method Summary collapse

Methods inherited from ET_GetSupport

#get, #getMoreResults, #info

Methods inherited from ET_BaseObject

#initialize

Constructor Details

This class inherits a constructor from FuelSDK::ET_BaseObject

Instance Method Details

#deleteObject



645
646
647
648
649
650
651
# File 'lib/new.rb', line 645

def delete()
  if props and props.is_a? Hash then
    @props = props
  end

  ET_Delete.new(@authStub, @obj, @props)
end

#patchObject



637
638
639
640
641
642
643
# File 'lib/new.rb', line 637

def patch()
  if props and props.is_a? Hash then
    @props = props
  end

  ET_Patch.new(@authStub, @obj, @props)
end

#postObject



623
624
625
626
627
628
629
630
631
632
633
634
635
# File 'lib/new.rb', line 623

def post()
  if props and props.is_a? Hash then
    @props = props
  end

  if @extProps then
    @extProps.each { |key, value|
      @props[key.capitalize] = value
    }
  end

  ET_Post.new(@authStub, @obj, @props)
end