class Jimson::BatchClient
Public Class Methods
new(helper)
click to toggle source
# File lib/jimson/client.rb, line 148 def initialize(helper) @helper = helper end
Public Instance Methods
method_missing(sym, *args, &block)
click to toggle source
# File lib/jimson/client.rb, line 152 def method_missing(sym, *args, &block) args = args.first if args.size == 1 && args.first.is_a?(Hash) request = Jimson::Request.new(sym.to_s, args) @helper.push_batch_request(request) end