Method: Espago::ApiConnection#authenticate
- Defined in:
- lib/espago/api_connection.rb
#authenticate(username, password) ⇒ Object
27 28 29 |
# File 'lib/espago/api_connection.rb', line 27 def authenticate(username, password) @connection.request(:authorization, :basic, username, password) end |