Class: Anecdotally

Inherits:
Object
  • Object
show all
Defined in:
lib/anecdotally.rb

Instance Method Summary collapse

Constructor Details

#initialize(apikey) ⇒ Anecdotally

Returns a new instance of Anecdotally.



7
8
9
# File 'lib/anecdotally.rb', line 7

def initialize(apikey)
  @api = API.new(apikey)
end

Instance Method Details

#anecdotesObject



11
12
13
# File 'lib/anecdotally.rb', line 11

def anecdotes
  Anecdotes.new(@api)
end

#programsObject



15
16
17
# File 'lib/anecdotally.rb', line 15

def programs
  Programs.new(@api)
end

#usersObject



19
20
21
# File 'lib/anecdotally.rb', line 19

def users
  Users.new(@api)
end