Class: ET::Campaign

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

Defined Under Namespace

Classes: Asset

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 CUDSupportRest

#delete, #patch, #post

Methods inherited from GetSupportRest

#get, #getMoreResults

Methods inherited from BaseObject

#stringify_keys!, #symbolize_keys!

Constructor Details

#initializeCampaign

Returns a new instance of Campaign.



3
4
5
6
7
8
# File 'lib/exact-target-api/campaign.rb', line 3

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