Sha256: 954fbd3baa939ff82819a1342915271e2d4719c93714e6d7728d655329b472d9
Contents?: true
Size: 831 Bytes
Versions: 4
Compression:
Stored size: 831 Bytes
Contents
require 'hello_sign/version' require 'hello_sign/configuration' require 'hello_sign/client' module HelloSign extend Configuration # # # If HelloSign module don't respond_to? method, then delegate it to HelloSign::Client # @param method [Symbol] method name # @param *args [Array] arguments passed into the method # @param &block [Block] a block passed into the method # def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end # # If HelloSign module don't respond_to? method, ask HelloSign::Client whether it respond or not # @param method [Symbol] method name # def self.respond_to?(method) return super || client.respond_to?(method) end private def self.client HelloSign::Client.new end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hellosign-ruby-sdk-3.0.7 | lib/hello_sign.rb |
hellosign-ruby-sdk-3.0.6 | lib/hello_sign.rb |
hellosign-ruby-sdk-3.0.5 | lib/hello_sign.rb |
hellosign-ruby-sdk-3.0.4 | lib/hello_sign.rb |