Class: Hoss::Transport::UserAgent Private

Inherits:
Object
  • Object
show all
Defined in:
lib/hoss/transport/user_agent.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ UserAgent

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of UserAgent.



24
25
26
# File 'lib/hoss/transport/user_agent.rb', line 24

def initialize(config)
  @built = build(config)
end

Instance Method Details

#to_sObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



28
29
30
# File 'lib/hoss/transport/user_agent.rb', line 28

def to_s
  @built
end