Sha256: c03359d2a47932965b1fe490c7cc0f1e6a95e85a361c08e1f06fccbea635e9fe
Contents?: true
Size: 320 Bytes
Versions: 9
Compression:
Stored size: 320 Bytes
Contents
module SimpleMDM @BASE_URL = 'a.simplemdm.com/api/v1/' def self.api_key=(value) @API_KEY = value end def self.api_key @API_KEY end def self.base_url=(value) @BASE_URL = value end def self.base_url @BASE_URL end def self.api_url "https://#{@API_KEY}:@#{@BASE_URL}" end end
Version data entries
9 entries across 9 versions & 2 rubygems