class LightSide::Config

Public Class Methods

configured?() click to toggle source
# File lib/lightside/config.rb, line 18
def self.configured?
  auth_token && base_url
end
headers() click to toggle source
# File lib/lightside/config.rb, line 14
def self.headers
  { "Authorization" => "Token #{auth_token}", "Content-Type" => "application/json" }
end