Class: LightSide::Config
- Inherits:
-
Object
- Object
- LightSide::Config
- Defined in:
- lib/lightside/config.rb
Class Method Summary collapse
Class Method Details
.configured? ⇒ Boolean
18 19 20 |
# File 'lib/lightside/config.rb', line 18 def self.configured? auth_token && base_url end |
.headers ⇒ Object
14 15 16 |
# File 'lib/lightside/config.rb', line 14 def self.headers { "Authorization" => "Token #{auth_token}", "Content-Type" => "application/json" } end |