Sha256: 08acb13e99f820390a3f81873519d4a1ca1260dff77271a0e86138de8354814e
Contents?: true
Size: 391 Bytes
Versions: 8
Compression:
Stored size: 391 Bytes
Contents
module Lolp module Configuration attr_accessor :api_endpoint, :username, :password, :token def configure yield self end def defaults @api_endpoint = ENV['LOLIPOP_MC_API_ENDPOINT'] || 'https://api.mc.lolipop.jp/' @username = ENV['LOLIPOP_MC_USERNAME'] @password = ENV['LOLIPOP_MC_PASSWORD'] @token = ENV['LOLIPOP_MC_TOKEN'] end end end
Version data entries
8 entries across 8 versions & 1 rubygems