Skip to content

Instantly share code, notes, and snippets.

View lucashour's full-sized avatar
🏠
Working from home

Luke Hourquebie lucashour

🏠
Working from home
View GitHub Profile
@lucashour
lucashour / README.md
Last active February 16, 2023 12:57
README sample for a Rails project

Build Status

README

Stack

Backend

  • Ruby version: 3.0.3
  • Rails version: 6.1.7
@lucashour
lucashour / .rubocop.yml
Created April 5, 2022 19:06
Rubocop configuration file
require: rubocop-rails
AllCops:
Exclude:
- 'db/migrate/*.rb'
- 'db/schema.rb'
- 'bin/*'
- 'config/**/*'
- 'node_modules/**/*'
- 'test/**/*'
- 'spec/**/*'
@lucashour
lucashour / Gemfile
Created July 15, 2020 14:47
Integrando una API en Rails
gem 'faraday'
gem 'faraday_middleware'
group :test do
gem 'rspec-rails'
gem 'webmock'
end
@lucashour
lucashour / base.rb
Last active October 3, 2019 13:08
RoR: Mercado Pago webhooks integration
# app/services/mercadopago_client/base.rb
module MercadopagoClient
class Base
require 'mercadopago'
STATUSES = [
APPROVED = 'approved',
BPP_COVERED = 'bpp_covered',
CHARGED_BACK = 'charged_back',