Class: Hoss::Transport::UserAgent Private
- Inherits:
-
Object
- Object
- Hoss::Transport::UserAgent
- 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
-
#initialize(config) ⇒ UserAgent
constructor
private
A new instance of UserAgent.
- #to_s ⇒ Object private
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_s ⇒ Object
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 |