Method: ApiClient::Base#method_missing

Defined in:
lib/api_client/base.rb

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



57
58
59
60
61
62
63
64
65
# File 'lib/api_client/base.rb', line 57

def method_missing(method_name, *args, &blk)
  if respond_to?(method_name) || has_special_ending?(method_name)
    super
  elsif use_strict_reader?(method_name)
    fetch(method_name)
  else
    super
  end
end