Class: Astroapi::Categories::BaseCategory
- Inherits:
-
Object
- Object
- Astroapi::Categories::BaseCategory
- Defined in:
- lib/astroapi/categories/base_category.rb
Overview
Base class for all category clients
Direct Known Subclasses
Analysis, Astrocartography, Charts, Chinese, Data, Eclipses, Enhanced, Fengshui, FixedStars, Glossary, Horary, Horoscope, HumanDesign, Insights::Business, Insights::Financial, Insights::Pet, Insights::Relationship, Insights::Wellness, InsightsCategory, Kabbalah, Lunar, Numerology, Palmistry, Pdf, Render, Svg, Tarot, Traditional, Vedic, Ziwei
Instance Attribute Summary collapse
-
#http ⇒ Object
readonly
Returns the value of attribute http.
Instance Method Summary collapse
-
#initialize(http_client) ⇒ BaseCategory
constructor
A new instance of BaseCategory.
Constructor Details
#initialize(http_client) ⇒ BaseCategory
Returns a new instance of BaseCategory.
9 10 11 |
# File 'lib/astroapi/categories/base_category.rb', line 9 def initialize(http_client) @http = http_client end |
Instance Attribute Details
#http ⇒ Object (readonly)
Returns the value of attribute http.
7 8 9 |
# File 'lib/astroapi/categories/base_category.rb', line 7 def http @http end |