Class: Spendee::Clients::BaseClient

Inherits:
ApiStruct::Client
  • Object
show all
Defined in:
lib/spendee/clients/base_client.rb

Instance Method Summary collapse

Instance Method Details

#default_headers(token, device_uuid = nil) ⇒ Object



6
7
8
# File 'lib/spendee/clients/base_client.rb', line 6

def default_headers(token, device_uuid = nil)
  { authorization: "Bearer #{token}", 'content-type': 'application/json', 'device-uuid': device_uuid}
end