Class: Ruboty::Gamification::Client
- Inherits:
-
Object
- Object
- Ruboty::Gamification::Client
- Defined in:
- lib/ruboty/gamification/client.rb
Constant Summary collapse
- ISSUES_URL =
"https://api.github.com/repos/yoshiori/ruboty-gamification/issues"
Instance Method Summary collapse
-
#initialize(gamification) ⇒ Client
constructor
A new instance of Client.
- #setup ⇒ Object
Constructor Details
#initialize(gamification) ⇒ Client
Returns a new instance of Client.
9 10 11 |
# File 'lib/ruboty/gamification/client.rb', line 9 def initialize(gamification) @gamification = gamification end |
Instance Method Details
#setup ⇒ Object
13 14 15 16 17 |
# File 'lib/ruboty/gamification/client.rb', line 13 def setup load(:increment) load(:decrement) @gamification. = end |