Sha256: e30c5d1d11a582b4c6bc0ea7f93f2e34e4f494383825e53066934b305e58a3f7
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
=begin #Mailchimp Marketing API #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 3.0.78 Contact: apihelp@mailchimp.com Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.12 =end require 'uri' module MailchimpMarketing class ActivityFeedApi attr_accessor :api_client def initialize(api_client) @api_client = api_client end # Get latest chimp chatter def get_chimp_chatter(opts = {}) fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000 query_params = {} query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil? query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? post_body = nil local_var_path = '/activity-feed/chimp-chatter' data = @api_client.call_api(:GET, local_var_path, :query_params => query_params, :body => post_body) return data end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
MailchimpMarketing-3.0.78 | lib/MailchimpMarketing/api/activity_feed_api.rb |