Skip to content

Instantly share code, notes, and snippets.

View pejrich's full-sized avatar

Peter Richards pejrich

View GitHub Profile
@pejrich
pejrich / gist:a9fd67eec3d71909deee6454c3964311
Created October 22, 2016 23:31
Apipie Rails 5.0 Temp Hash/Params fix
module Apipie
module Validator
class HashValidator < BaseValidator
include Apipie::DSL::Base
include Apipie::DSL::Param
def self.build(param_description, argument, options, block)