class CommitLive::Endpoint

Constants

END_POINTS

Public Instance Methods

get() click to toggle source
# File lib/commit-live/endpoint.rb, line 8
def get()
        return END_POINTS[getEnv()]
end
getEnv() click to toggle source
# File lib/commit-live/endpoint.rb, line 11
def getEnv()
        env = ENV["COMMIT_LIVE_ENV"]
        if !env.nil?
                return env
        end
        return "PROD"
end