Class: Rallio::Base

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/rallio/base.rb

Class Method Summary collapse

Class Method Details

.app_credentialsHash

The credentials that can be used in the headers of any request requiring app level credentials

Returns:

  • (Hash)

    credentials hash



12
13
14
15
16
17
# File 'lib/rallio/base.rb', line 12

def self.app_credentials
  {
    'X-Application-ID' => Rallio.application_id,
    'X-Application-Secret' => Rallio.application_secret
  }
end