Module: PDC::Request

Defined in:
lib/pdc/http.rb,
lib/pdc/http/request.rb,
lib/pdc/http/request/pdc_token.rb,
lib/pdc/http/request/token_fetcher.rb

Defined Under Namespace

Modules: TokenFetcher Classes: AppendSlashToPath, Token

Class Method Summary collapse

Class Method Details

.default_headersObject



7
8
9
10
11
12
# File 'lib/pdc/http/request.rb', line 7

def self.default_headers
  {
    'Accept' => 'application/json',
    'Content-Type' => 'application/json'
  }
end