Method: UniSender::Client#method_missing

Defined in:
lib/uni_sender.rb

#method_missing(method_name, *args, &block) ⇒ Object (private)



26
27
28
29
# File 'lib/uni_sender.rb', line 26

def method_missing(method_name, *args, &block)
  params = (args.first.is_a?(Hash) ? args.first : {} )
  default_request(prepare_action_name(method_name), params)
end