Class: Faraday::Conductivity::Environment

Inherits:
Object
  • Object
show all
Defined in:
lib/faraday/conductivity/user_agent.rb

Instance Method Summary collapse

Instance Method Details

#hostnameObject



40
41
42
# File 'lib/faraday/conductivity/user_agent.rb', line 40

def hostname
  Socket.gethostname
end

#loginObject



36
37
38
# File 'lib/faraday/conductivity/user_agent.rb', line 36

def 
  Etc.getlogin
end

#pidObject



44
45
46
# File 'lib/faraday/conductivity/user_agent.rb', line 44

def pid
  Process.pid
end