Sha256: 7724b1b9b85fde0b2ef88a917cdaa6350e4cc6855210d526c1f8599aa3046ec1
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 Bytes
Contents
require 'httparty' # These three are the only classes that should be accessed directly require 'rev-api/api' module Rev class << self # Alias for Rev::Api.new # # @return [Rev::Api] def new(client_api_key, user_api_key, host) Rev::Api.new(client_api_key, user_api_key, host) end # Delegate to Rev::Api # def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end def respond_to?(method, include_private = false) new.respond_to?(method, include_private) || super(method, include_private) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rev-api-2.3.0 | lib/rev-api.rb |