Sha256: c735ca14ce752880e0577f288b8444354477606aa151681522c04b04cf279de5
Contents?: true
Size: 687 Bytes
Versions: 10
Compression:
Stored size: 687 Bytes
Contents
require "json" require "datarank/version" require "datarank/client" module Datarank class << self # A Datarank::Client, used when calling methods on the Datarank module itself. # # @return [Datarank::Client] def client(api_key=nil, api_version=nil, options={}) @client ||= Datarank::Client.new(api_key, api_version, options) end def respond_to?(method_name, include_private = false) client.respond_to?(method_name, include_private) || super end # private # def method_missing(method_name, *args, &block) # return super unless client.respond_to?(method_name) # client.send(method_name, *args, &block) # end end end
Version data entries
10 entries across 10 versions & 2 rubygems