Class: BtfyClient::BaseRequest

Inherits:
Object
  • Object
show all
Includes:
APIClientBase::Request
Defined in:
lib/btfy_client/requests/base_request.rb

Direct Known Subclasses

CreateLinkRequest

Instance Method Summary collapse

Instance Method Details

#headersObject



9
10
11
12
13
14
# File 'lib/btfy_client/requests/base_request.rb', line 9

def headers
  {
    "Content-Type"  => "application/json",
    "Authorization" => "Bearer #{api_token}",
  }
end