Class: Astroapi::Categories::Ziwei
- Inherits:
-
BaseCategory
- Object
- BaseCategory
- Astroapi::Categories::Ziwei
- Defined in:
- lib/astroapi/categories/ziwei.rb
Overview
Zi Wei Dou Shu (Purple Star) category client
Instance Attribute Summary
Attributes inherited from BaseCategory
Instance Method Summary collapse
-
#calculate_chart(request) ⇒ Hash
Calculate Zi Wei chart.
Methods inherited from BaseCategory
Constructor Details
This class inherits a constructor from Astroapi::Categories::BaseCategory
Instance Method Details
#calculate_chart(request) ⇒ Hash
Calculate Zi Wei chart
13 14 15 16 |
# File 'lib/astroapi/categories/ziwei.rb', line 13 def calculate_chart(request) Validators::SubjectValidator.validate!(request) http.post(build_url('chart'), body: request) end |