Class: ET::Campaign::Asset
- Inherits:
-
ET::CUDSupportRest
- Object
- BaseObject
- GetSupportRest
- ET::CUDSupportRest
- ET::Campaign::Asset
- 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
-
#initialize ⇒ Asset
constructor
A new instance of Asset.
Methods inherited from ET::CUDSupportRest
Methods inherited from GetSupportRest
Methods inherited from BaseObject
#stringify_keys!, #symbolize_keys!
Constructor Details
#initialize ⇒ Asset
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 |