Method: MLS#headers
- Defined in:
- lib/mls.rb
#headers ⇒ Object
TODO: testme
85 86 87 88 89 90 91 92 93 94 |
# File 'lib/mls.rb', line 85 def headers # TODO: testme h = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent, 'X-42Floors-API-Version' => API_VERSION, 'X-42Floors-API-Key' => api_key } h['X-42Floors-API-Auth-Key'] = auth_key if auth_key h end |