class HabiticaClient
Constants
- VERSION
Attributes
client[RW]
Public Class Methods
new(user_id, api_token)
click to toggle source
# File lib/habitica_client.rb, line 10 def initialize(user_id, api_token) self.client = Client.new(user_id, api_token) end
Public Instance Methods
tasks()
click to toggle source
# File lib/habitica_client.rb, line 18 def tasks @tasks ||= Tasks.new(client) end
user()
click to toggle source
# File lib/habitica_client.rb, line 14 def user @user ||= User.new(client) end