Class: AstroInsight::Services::TarotService

Inherits:
Object
  • Object
show all
Defined in:
lib/astroinsight/services/tarot.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ TarotService

Returns a new instance of TarotService.



6
7
8
# File 'lib/astroinsight/services/tarot.rb', line 6

def initialize(client)
  @client = client
end

Instance Method Details

#get_career_reading(payload = {}) ⇒ Object



26
27
28
# File 'lib/astroinsight/services/tarot.rb', line 26

def get_career_reading(payload = {})
  @client.post("/tarot/career", payload)
end

#get_celtic_cross_reading(payload = {}) ⇒ Object



18
19
20
# File 'lib/astroinsight/services/tarot.rb', line 18

def get_celtic_cross_reading(payload = {})
  @client.post("/tarot/celtic-cross", payload)
end

#get_finance_reading(payload = {}) ⇒ Object



30
31
32
# File 'lib/astroinsight/services/tarot.rb', line 30

def get_finance_reading(payload = {})
  @client.post("/tarot/finance", payload)
end

#get_health_reading(payload = {}) ⇒ Object



22
23
24
# File 'lib/astroinsight/services/tarot.rb', line 22

def get_health_reading(payload = {})
  @client.post("/tarot/health", payload)
end

#get_one_card_reading(payload = {}) ⇒ Object



10
11
12
# File 'lib/astroinsight/services/tarot.rb', line 10

def get_one_card_reading(payload = {})
  @client.post("/tarot/one-card", payload)
end

#get_spiritual_reading(payload = {}) ⇒ Object



42
43
44
# File 'lib/astroinsight/services/tarot.rb', line 42

def get_spiritual_reading(payload = {})
  @client.post("/tarot/spiritual", payload)
end

#get_three_card_reading(payload = {}) ⇒ Object



14
15
16
# File 'lib/astroinsight/services/tarot.rb', line 14

def get_three_card_reading(payload = {})
  @client.post("/tarot/three-card", payload)
end

#get_true_love_reading(payload = {}) ⇒ Object



34
35
36
# File 'lib/astroinsight/services/tarot.rb', line 34

def get_true_love_reading(payload = {})
  @client.post("/tarot/true-love", payload)
end

#get_victory_reading(payload = {}) ⇒ Object



38
39
40
# File 'lib/astroinsight/services/tarot.rb', line 38

def get_victory_reading(payload = {})
  @client.post("/tarot/victory", payload)
end

#get_yes_no_reading(payload = {}) ⇒ Object



46
47
48
# File 'lib/astroinsight/services/tarot.rb', line 46

def get_yes_no_reading(payload = {})
  @client.post("/tarot/yes-no", payload)
end