Module: Concourse::Headers

Defined in:
lib/concourse/headers.rb

Class Method Summary collapse

Class Method Details

.authorization(authorization) ⇒ Object

[View source]

39
40
41
# File 'lib/concourse/headers.rb', line 39

def self.authorization(authorization)
  { Concourse::HeaderNames.authorization => authorization }
end

.content_type(content_type) ⇒ Object

[View source]

35
36
37
# File 'lib/concourse/headers.rb', line 35

def self.content_type(content_type)
  { Concourse::HeaderNames.content_type => content_type }
end