Class: VK::User
Instance Method Summary collapse
-
#initialize(id) ⇒ User
constructor
A new instance of User.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(id) ⇒ User
Returns a new instance of User.
10 11 12 |
# File 'lib/userapi/user.rb', line 10 def initialize(id) @id = id end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method