Class: Astroapi::Categories::Horary
- Inherits:
-
BaseCategory
- Object
- BaseCategory
- Astroapi::Categories::Horary
- Defined in:
- lib/astroapi/categories/horary.rb
Overview
Horary astrology category client
Instance Attribute Summary
Attributes inherited from BaseCategory
Instance Method Summary collapse
-
#analyze(request) ⇒ Hash
Analyze horary question.
-
#analyze_fertility(request) ⇒ Hash
Analyze fertility question.
-
#generate_chart(request) ⇒ Hash
Generate horary chart.
-
#get_aspects(request) ⇒ Hash
Get horary aspects.
-
#get_categories_glossary(params = {}) ⇒ Hash
Get categories glossary.
-
#get_considerations_glossary(params = {}) ⇒ Hash
Get considerations glossary.
Methods inherited from BaseCategory
Constructor Details
This class inherits a constructor from Astroapi::Categories::BaseCategory
Instance Method Details
#analyze(request) ⇒ Hash
Analyze horary question
19 20 21 |
# File 'lib/astroapi/categories/horary.rb', line 19 def analyze(request) http.post(build_url('analyze'), body: request) end |
#analyze_fertility(request) ⇒ Hash
Analyze fertility question
33 34 35 |
# File 'lib/astroapi/categories/horary.rb', line 33 def analyze_fertility(request) http.post(build_url('fertility-analysis'), body: request) end |
#generate_chart(request) ⇒ Hash
Generate horary chart
12 13 14 |
# File 'lib/astroapi/categories/horary.rb', line 12 def generate_chart(request) http.post(build_url('chart'), body: request) end |
#get_aspects(request) ⇒ Hash
Get horary aspects
26 27 28 |
# File 'lib/astroapi/categories/horary.rb', line 26 def get_aspects(request) http.post(build_url('aspects'), body: request) end |
#get_categories_glossary(params = {}) ⇒ Hash
Get categories glossary
40 41 42 |
# File 'lib/astroapi/categories/horary.rb', line 40 def get_categories_glossary(params = {}) http.get(build_url('glossary', 'categories'), params: params) end |
#get_considerations_glossary(params = {}) ⇒ Hash
Get considerations glossary
47 48 49 |
# File 'lib/astroapi/categories/horary.rb', line 47 def get_considerations_glossary(params = {}) http.get(build_url('glossary', 'considerations'), params: params) end |