Class: Codeforces::Models::User

Inherits:
Base
  • Object
show all
Defined in:
lib/codeforces/models/user.rb

Instance Attribute Summary

Attributes inherited from Base

#base, #client

Instance Method Summary collapse

Methods inherited from Base

#grep, #initialize, #invert_grep

Constructor Details

This class inherits a constructor from Codeforces::Models::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Codeforces::Models::Base

Instance Method Details

#submissionsObject



5
6
7
# File 'lib/codeforces/models/user.rb', line 5

def submissions
  client.api.user.status(base.handle)
end