Class: Atndr::User
Constant Summary collapse
- URL_BASE =
"http://api.atnd.org/events/users/"
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
- #get_user(opt = {}) ⇒ Object
-
#initialize ⇒ User
constructor
A new instance of User.
Methods inherited from Event
Constructor Details
#initialize ⇒ User
Returns a new instance of User.
11 12 13 |
# File 'lib/atndr/user.rb', line 11 def initialize @options = {} end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
9 10 11 |
# File 'lib/atndr/user.rb', line 9 def @options end |
Instance Method Details
#get_user(opt = {}) ⇒ Object
15 16 17 18 |
# File 'lib/atndr/user.rb', line 15 def get_user(opt = {}) @options = opt send_api end |