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