Questions tagged [gibbon]

Gibbon is a simple wrapper for MailChimp's Primary and Export APIs.

67 questions
0
votes
1 answer

Rails dependency missing for Gibbon

I'm trying to install Gibon for my rails 3 app. Gibbon needs multi_json 1.3.4, so I set it in my gemfile as following: Gemfile.rb # Mail gem 'multi_json', '1.3.4' # Dependency for gibbon gem 'gibbon', git: 'git://github.com/amro/gibbon.git' I got…
sidney
  • 2,704
  • 3
  • 28
  • 44
0
votes
1 answer

Rails: Batch Subscribe users to MailChimp API on Heroku running into timeout issues

Here is my code users = User.all # Latency issues with connecting with Heroku and MC Gibbon::API.timeout = 120 gb = Gibbon::API.new batch = [] users.each do |user| batch << user.mail_chimp_information end puts…
dennismonsewicz
  • 25,132
  • 33
  • 116
  • 189
0
votes
1 answer

How to update all fields in MailChimp API batch subscribe using Ruby and Gibbon

I am using Ruby 1.9.3 without Rails and version 1.0.4 of the Gibbon gem. I have referrals populated with my list and can send the following to MailChimp with Gibbon. However, only the email address and email type fields are populated in the list in…
analyticsPierce
  • 2,979
  • 9
  • 57
  • 81
0
votes
1 answer

How to retrieve a specific mailchip list by name

I'm very new to both rails and mailchip. I'm able to retrieve all my lists inside my controller with the below code class EmailsController < ApplicationController def new @email = Email.new @gbList = Gibbon::API.lists.list puts…
user1096509
  • 741
  • 4
  • 15
  • 27
0
votes
1 answer

Adding address to mailchimp using Gibbon gem

Im using the gibbon 0.4.6 with ruby 1.9.3p392, and I tried to add the address of my contacts but I couldn't find the correct format of the parameters. respuesta = gb.listSubscribe({ :id => lista_id, :email_address => email, :merge_vars…
Abimael
  • 11
  • 2
0
votes
1 answer

Why can Gibbon Gem access API but can't listSubscribe()?

I'm trying to get mailchimp integrated with my ruby-on-rails app using the Gibbon gem. I've successfully accessed the API. I tested it by getting a list of all my mailchimp lists. However, I'm running into problems with the listsubscribe method. I'm…
ctaymor
  • 175
  • 1
  • 13
0
votes
1 answer

rails custom library recoding with dry way

I have this mailchimp.rb file but I think it is not efficient. class MailchimpAdapter class << self def remove_from_mailchimp_list(user, bucket_id) connection = Gibbon.new lists = connection.lists begin …
Johnny Cash
  • 4,867
  • 5
  • 21
  • 37
1 2 3 4
5