Class: Spendee::Clients::BaseClient
- Inherits:
-
ApiStruct::Client
- Object
- ApiStruct::Client
- Spendee::Clients::BaseClient
- Defined in:
- lib/spendee/clients/base_client.rb
Direct Known Subclasses
GetAllUserCategories, Login, UserGetProfile, WalletCreateTransaction, WalletGetAll, WalletGetTransactions
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 |