Class: Powcloud::Insurance::HttpService::HttpServiceBase
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Powcloud::Insurance::HttpService::HttpServiceBase
- Defined in:
- lib/powcloud/insurance/http_service.rb
Overview
Establish base case for http services, useful for later patching which doesn’t touch Sinatra::Base.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.agent ⇒ Object
9 10 11 |
# File 'lib/powcloud/insurance/http_service.rb', line 9 def self.agent self.send :class_variable_get, :@@agent end |
Instance Method Details
#agent ⇒ Object
13 14 15 |
# File 'lib/powcloud/insurance/http_service.rb', line 13 def agent self.class.agent end |