module Brainspace
Constants
- CONFIG
- VERSION
Public Class Methods
apikey()
click to toggle source
# File lib/brainspace.rb, line 21 def self.apikey JSON.parse(Faraday.get("#{config.host}/authenticate", {pass: config.password, user: config.user}).body)['data'] rescue nil end
config()
click to toggle source
# File lib/brainspace.rb, line 17 def self.config CONFIG end