Skip to content

Instantly share code, notes, and snippets.

@paneq
Created December 20, 2013 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paneq/8056625 to your computer and use it in GitHub Desktop.
Save paneq/8056625 to your computer and use it in GitHub Desktop.
Gibbon ruby-esque. not.
g = Gibbon::API.new(MAILCHIMP_API_KEY)
#=> #<Gibbon::API:0x00000007ad89d0 @api_key="KEY", @api_endpoint=nil, @timeout=nil, @throws_exceptions=nil, @default_params={:apikey=>"KEY"}>
g.templates
#=> #<Gibbon::APICategory:0x00000007100cc8 @category_name="templates", @api_key="KEY", @api_endpoint=nil, @default_params={:apikey=>"KEY"}, @throws_exceptions=true, @timeout=30>
g.respond_to?(:templates)
#=> false
g.methods.include?(:templates)
#=> false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment