Skip to content

Instantly share code, notes, and snippets.

View renanvieira's full-sized avatar

Renan Chagas renanvieira

View GitHub Profile
# https://docs.codecov.io/docs/codecov-yaml
codecov:
max_report_age: off
notify:
require_ci_to_pass: yes
comment:
layout: "reach, diff, files"
behavior: new
require_changes: true # if true: only post the comment if coverage changes
@renanvieira
renanvieira / DynamicObjectHelper
Last active August 29, 2015 14:20
ExpandoObject recursive extension method for JSON serialization
/*
*Original version posted by TimDog in a StackOverflow question: http://stackoverflow.com/questions/5156664/how-to-flatten-an-expandoobject-returned-via-jsonresult-in-asp-net-mvc
*/
public static class DynamicObjectHelper
{
public static string Flatten(this ExpandoObject expando)
{
return FlattenImplementation(expando);
@client = Mundipagg::Gateway.new :test
@client.log_level = :none