Skip to content

Instantly share code, notes, and snippets.


Lucas Hourquebie lucashour

  • Unagi
  • La Plata, Buenos Aires, Argentina
View GitHub Profile
lucashour / Gemfile
Created Jul 15, 2020
Integrando una API en Rails
View Gemfile
gem 'faraday'
gem 'faraday_middleware'
group :test do
gem 'rspec-rails'
gem 'webmock'
lucashour / base.rb
Last active Oct 3, 2019
RoR: Mercado Pago webhooks integration
View base.rb
# app/services/mercadopago_client/base.rb
module MercadopagoClient
class Base
require 'mercadopago'
APPROVED = 'approved',
BPP_COVERED = 'bpp_covered',
CHARGED_BACK = 'charged_back',