Method: Balanced::Client#method_missing
- Defined in:
- lib/balanced_ach/client.rb
#method_missing(method, *args, &block) ⇒ Object (private)
71 72 73 74 75 76 77 78 79 |
# File 'lib/balanced_ach/client.rb', line 71 def method_missing(method, *args, &block) case method when :get, :post, :put, :delete conn.basic_auth(api_key, '') unless api_key.nil? conn.send method, *args else super end end |