Class: RubyPitaya::HttpBase
- Defined in:
- lib/rubypitaya/core/http_base.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/core/http_base.rb
Instance Attribute Summary collapse
-
#objects ⇒ Object
readonly
Returns the value of attribute objects.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ HttpBase
constructor
A new instance of HttpBase.
Constructor Details
#initialize ⇒ HttpBase
Returns a new instance of HttpBase.
11 12 13 |
# File 'lib/rubypitaya/core/http_base.rb', line 11 def initialize @objects = self.class.objects end |
Instance Attribute Details
#objects ⇒ Object (readonly)
Returns the value of attribute objects.
9 10 11 |
# File 'lib/rubypitaya/core/http_base.rb', line 9 def objects @objects end |
Class Method Details
.objects ⇒ Object
15 16 17 18 |
# File 'lib/rubypitaya/core/http_base.rb', line 15 def self.objects self.handler_objects ||= InstanceHolder.new return self.handler_objects end |