Class: PigCI::Api

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/pig_ci/api.rb

Direct Known Subclasses

Reports

Defined Under Namespace

Classes: Reports

Instance Method Summary collapse

Instance Method Details

#headersObject


6
7
8
9
10
11
# File 'lib/pig_ci/api.rb', line 6

def headers
  {
    'Content-Type': 'application/json',
    'X-ApiKey': PigCI.api_key
  }
end