Module: Descope::Mixins::Headers

Included in:
Descope::Mixins
Defined in:
lib/descope/mixins/headers.rb

Instance Method Summary collapse

Instance Method Details

#client_headersObject

Descope default headers



5
6
7
8
9
10
11
12
# File 'lib/descope/mixins/headers.rb', line 5

def client_headers
  {
    'Content-Type' => 'application/json',
    'x-descope-sdk-name': 'ruby',
    'x-descope-sdk-ruby-version': RUBY_VERSION,
    'x-descope-sdk-version': Descope::SDK_VERSION,
  }
end