module Nearmiss
require “bim360/version” unless defined?(Nearmiss::VERSION
) require ‘bim360/response/raise_error’
Constants
- VERSION
Public Class Methods
client()
click to toggle source
API client based on configured options {Configurable}
@return [Nearmiss::Client] API wrapper
# File lib/nearmiss-ruby.rb, line 26 def client @client = Nearmiss::Client.new(options) unless defined?(@client) && @client.same_options?(options) @client end
respond_to_missing?(method_name, include_private=false)
click to toggle source
@private
# File lib/nearmiss-ruby.rb, line 32 def respond_to_missing?(method_name, include_private=false) client.respond_to?(method_name, include_private) end
Private Class Methods
method_missing(method_name, *args, &block)
click to toggle source
Calls superclass method
# File lib/nearmiss-ruby.rb, line 38 def method_missing(method_name, *args, &block) return super unless client.respond_to?(method_name) client.send(method_name, *args, &block) end