Sha256: 54015b4656e2ddf31161c3b4fbae97aeaf560c56b5c024900699bcb6d1a95240
Contents?: true
Size: 393 Bytes
Versions: 10
Compression:
Stored size: 393 Bytes
Contents
module Onfido class API def method_missing(method, *args) klass = method.to_s.capitalize Object.const_get("Onfido::#{klass}").new rescue NameError super end def respond_to_missing?(method, include_private = false) klass = method.to_s.capitalize Object.const_get("Onfido::#{klass}") true rescue NameError super end end end
Version data entries
10 entries across 10 versions & 1 rubygems