Class: PivotalTracker

Inherits:
HttpMagic::Api
  • Object
show all
Defined in:
lib/pivotal_tracker.rb

Class Method Summary collapse

Class Method Details

.api_token=(value) ⇒ Object

Specifies the PivotalTracker API token that is needed to authenticate a user to access the api.

Example

ExampleApi.api_token = 'token'


13
14
15
# File 'lib/pivotal_tracker.rb', line 13

def self.api_token=(value)
  headers({ 'X-TrackerToken' => value })
end