Class: ET::Campaign::Asset

Inherits:
ET::CUDSupportRest show all
Defined in:
lib/exact-target-api/campaign.rb

Instance Attribute Summary

Attributes inherited from GetSupportRest

#lastPageNumber, #urlProps, #urlPropsRequired

Attributes inherited from BaseObject

#client, #endpoint, #lastRequestID, #obj, #props

Instance Method Summary collapse

Methods inherited from ET::CUDSupportRest

#delete, #patch, #post

Methods inherited from GetSupportRest

#get, #getMoreResults

Methods inherited from BaseObject

#stringify_keys!, #symbolize_keys!

Constructor Details

#initializeAsset

Returns a new instance of Asset.



11
12
13
14
15
16
# File 'lib/exact-target-api/campaign.rb', line 11

def initialize
  super
  @endpoint = 'https://www.exacttargetapis.com/hub/v1/campaigns/{id}/assets/{assetId}'
  @urlProps = ["id", "assetId"]
  @urlPropsRequired = ["id"]
end