Class: MailchimpMarketing::Client
- Inherits:
-
Object
- Object
- MailchimpMarketing::Client
- Defined in:
- lib/MailchimpMarketing.rb
Instance Method Summary collapse
- #accountExport ⇒ Object
- #accountExports ⇒ Object
- #activityFeed ⇒ Object
- #authorizedApps ⇒ Object
- #automations ⇒ Object
- #batches ⇒ Object
- #batchWebhooks ⇒ Object
- #campaignFolders ⇒ Object
- #campaigns ⇒ Object
- #connectedSites ⇒ Object
- #conversations ⇒ Object
- #customerJourneys ⇒ Object
- #ecommerce ⇒ Object
- #facebookAds ⇒ Object
- #fileManager ⇒ Object
-
#initialize(config = {}) ⇒ Client
constructor
A new instance of Client.
- #landingPages ⇒ Object
- #lists ⇒ Object
- #ping ⇒ Object
- #reporting ⇒ Object
- #reports ⇒ Object
- #root ⇒ Object
- #searchCampaigns ⇒ Object
- #searchMembers ⇒ Object
- #set_config(config = {}) ⇒ Object
- #surveys ⇒ Object
- #templateFolders ⇒ Object
- #templates ⇒ Object
- #verifiedDomains ⇒ Object
Constructor Details
#initialize(config = {}) ⇒ Client
Returns a new instance of Client.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/MailchimpMarketing.rb', line 49 def initialize(config = {}) @api_client = ApiClient.new(config) @AccountExport = AccountExportApi.new(@api_client) @AccountExports = AccountExportsApi.new(@api_client) @ActivityFeed = ActivityFeedApi.new(@api_client) @AuthorizedApps = AuthorizedAppsApi.new(@api_client) @Automations = AutomationsApi.new(@api_client) @BatchWebhooks = BatchWebhooksApi.new(@api_client) @Batches = BatchesApi.new(@api_client) @CampaignFolders = CampaignFoldersApi.new(@api_client) @Campaigns = CampaignsApi.new(@api_client) @ConnectedSites = ConnectedSitesApi.new(@api_client) @Conversations = ConversationsApi.new(@api_client) @CustomerJourneys = CustomerJourneysApi.new(@api_client) @Ecommerce = EcommerceApi.new(@api_client) @FacebookAds = FacebookAdsApi.new(@api_client) @FileManager = FileManagerApi.new(@api_client) @LandingPages = LandingPagesApi.new(@api_client) @Lists = ListsApi.new(@api_client) @Ping = PingApi.new(@api_client) @Reporting = ReportingApi.new(@api_client) @Reports = ReportsApi.new(@api_client) @Root = RootApi.new(@api_client) @SearchCampaigns = SearchCampaignsApi.new(@api_client) @SearchMembers = SearchMembersApi.new(@api_client) @Surveys = SurveysApi.new(@api_client) @TemplateFolders = TemplateFoldersApi.new(@api_client) @Templates = TemplatesApi.new(@api_client) @VerifiedDomains = VerifiedDomainsApi.new(@api_client) end |
Instance Method Details
#accountExport ⇒ Object
85 86 87 |
# File 'lib/MailchimpMarketing.rb', line 85 def accountExport @AccountExport end |
#accountExports ⇒ Object
88 89 90 |
# File 'lib/MailchimpMarketing.rb', line 88 def accountExports @AccountExports end |
#activityFeed ⇒ Object
91 92 93 |
# File 'lib/MailchimpMarketing.rb', line 91 def activityFeed @ActivityFeed end |
#authorizedApps ⇒ Object
94 95 96 |
# File 'lib/MailchimpMarketing.rb', line 94 def @AuthorizedApps end |
#automations ⇒ Object
97 98 99 |
# File 'lib/MailchimpMarketing.rb', line 97 def automations @Automations end |
#batches ⇒ Object
103 104 105 |
# File 'lib/MailchimpMarketing.rb', line 103 def batches @Batches end |
#batchWebhooks ⇒ Object
100 101 102 |
# File 'lib/MailchimpMarketing.rb', line 100 def batchWebhooks @BatchWebhooks end |
#campaignFolders ⇒ Object
106 107 108 |
# File 'lib/MailchimpMarketing.rb', line 106 def campaignFolders @CampaignFolders end |
#campaigns ⇒ Object
109 110 111 |
# File 'lib/MailchimpMarketing.rb', line 109 def campaigns @Campaigns end |
#connectedSites ⇒ Object
112 113 114 |
# File 'lib/MailchimpMarketing.rb', line 112 def connectedSites @ConnectedSites end |
#conversations ⇒ Object
115 116 117 |
# File 'lib/MailchimpMarketing.rb', line 115 def conversations @Conversations end |
#customerJourneys ⇒ Object
118 119 120 |
# File 'lib/MailchimpMarketing.rb', line 118 def customerJourneys @CustomerJourneys end |
#ecommerce ⇒ Object
121 122 123 |
# File 'lib/MailchimpMarketing.rb', line 121 def ecommerce @Ecommerce end |
#facebookAds ⇒ Object
124 125 126 |
# File 'lib/MailchimpMarketing.rb', line 124 def facebookAds @FacebookAds end |
#fileManager ⇒ Object
127 128 129 |
# File 'lib/MailchimpMarketing.rb', line 127 def fileManager @FileManager end |
#landingPages ⇒ Object
130 131 132 |
# File 'lib/MailchimpMarketing.rb', line 130 def landingPages @LandingPages end |
#lists ⇒ Object
133 134 135 |
# File 'lib/MailchimpMarketing.rb', line 133 def lists @Lists end |
#ping ⇒ Object
136 137 138 |
# File 'lib/MailchimpMarketing.rb', line 136 def ping @Ping end |
#reporting ⇒ Object
139 140 141 |
# File 'lib/MailchimpMarketing.rb', line 139 def reporting @Reporting end |
#reports ⇒ Object
142 143 144 |
# File 'lib/MailchimpMarketing.rb', line 142 def reports @Reports end |
#root ⇒ Object
145 146 147 |
# File 'lib/MailchimpMarketing.rb', line 145 def root @Root end |
#searchCampaigns ⇒ Object
148 149 150 |
# File 'lib/MailchimpMarketing.rb', line 148 def searchCampaigns @SearchCampaigns end |
#searchMembers ⇒ Object
151 152 153 |
# File 'lib/MailchimpMarketing.rb', line 151 def searchMembers @SearchMembers end |
#set_config(config = {}) ⇒ Object
81 82 83 |
# File 'lib/MailchimpMarketing.rb', line 81 def set_config(config = {}) @api_client.set_config(config) end |
#surveys ⇒ Object
154 155 156 |
# File 'lib/MailchimpMarketing.rb', line 154 def surveys @Surveys end |
#templateFolders ⇒ Object
157 158 159 |
# File 'lib/MailchimpMarketing.rb', line 157 def templateFolders @TemplateFolders end |
#templates ⇒ Object
160 161 162 |
# File 'lib/MailchimpMarketing.rb', line 160 def templates @Templates end |
#verifiedDomains ⇒ Object
163 164 165 |
# File 'lib/MailchimpMarketing.rb', line 163 def verifiedDomains @VerifiedDomains end |