Class: RubyVibe::GetUserDetails

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-vibe/shortcuts.rb

Overview

Class Method Summary collapse

Class Method Details

.[](user_id) ⇒ Object

Note:

Configuration constants must be defined to use shortcut classes



81
82
83
# File 'lib/ruby-vibe/shortcuts.rb', line 81

def self.[](user_id)
  Bot.new.get_user_details(user_id)
end