Class: Bamboo::Client::Http::Abstract
- Inherits:
-
Object
- Object
- Bamboo::Client::Http::Abstract
- Defined in:
- lib/bamboo-client/http/abstract.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(url) ⇒ Abstract
constructor
A new instance of Abstract.
Constructor Details
#initialize(url) ⇒ Abstract
Returns a new instance of Abstract.
7 8 9 |
# File 'lib/bamboo-client/http/abstract.rb', line 7 def initialize(url) @uri = URI.parse url end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
5 6 7 |
# File 'lib/bamboo-client/http/abstract.rb', line 5 def uri @uri end |