Sha256: 4eb14f36af61c1bd729583627a2687ab1befda7d63b062c7d2dfd5dcb1ca852b

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

module Pytty
  module Client
    def self.host_url
      if ENV["PYTTY_HOST"]
        ENV["PYTTY_HOST"]
      else
        "http://localhost:1234"
      end
    end
  end
end

require_relative "client/process_yield"
require_relative "client/api"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pytty-0.5.0 lib/pytty/client.rb
pytty-0.4.1 lib/pytty/client.rb
pytty-0.4.0 lib/pytty/client.rb