Sha256: ce6620b549103a6c5396bd9c84b4dd1c8d049563d9c30210a3f539c690aad905
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
module PadSec # Gets the Padstone server url. # # Based on `ENV['PADSTONE']`, gets the Padstone server url. # # @return [String] def self.server_url if ENV['PADSTONE'] == 'development' "http://localhost:3000/services/v1" else "http://padstone.io/services/v1" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pad_sec-0.2.0 | lib/pad_sec/server.rb |
pad_sec-0.1.0 | lib/pad_sec/server.rb |