Class: Anecdotally
- Inherits:
-
Object
- Object
- Anecdotally
- Defined in:
- lib/anecdotally.rb
Instance Method Summary collapse
- #anecdotes ⇒ Object
-
#initialize(apikey) ⇒ Anecdotally
constructor
A new instance of Anecdotally.
- #programs ⇒ Object
- #users ⇒ Object
Constructor Details
#initialize(apikey) ⇒ Anecdotally
7 8 9 |
# File 'lib/anecdotally.rb', line 7 def initialize(apikey) @api = API.new(apikey) end |
Instance Method Details
#anecdotes ⇒ Object
11 12 13 |
# File 'lib/anecdotally.rb', line 11 def anecdotes Anecdotes.new(@api) end |
#programs ⇒ Object
15 16 17 |
# File 'lib/anecdotally.rb', line 15 def programs Programs.new(@api) end |
#users ⇒ Object
19 20 21 |
# File 'lib/anecdotally.rb', line 19 def users Users.new(@api) end |