Module: Annict::ApiMethods

Included in:
Client
Defined in:
lib/annict/api_methods.rb

Instance Method Summary collapse

Instance Method Details

#activities(params = {}) ⇒ Object



27
28
29
# File 'lib/annict/api_methods.rb', line 27

def activities(params = {})
  send_get("/v1/activities", params)
end

#add_record(params = {}) ⇒ Object



39
40
41
# File 'lib/annict/api_methods.rb', line 39

def add_record(params = {})
  send_post("/v1/me/records", params)
end

#change_status(params = {}) ⇒ Object



35
36
37
# File 'lib/annict/api_methods.rb', line 35

def change_status(params = {})
  send_post("/v1/me/statuses", params)
end

#episodes(params = {}) ⇒ Object



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

def episodes(params = {})
  send_get("/v1/episodes", params)
end

#followers(params = {}) ⇒ Object



23
24
25
# File 'lib/annict/api_methods.rb', line 23

def followers(params = {})
  send_get("/v1/followers", params)
end

#following(params = {}) ⇒ Object



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

def following(params = {})
  send_get("/v1/following", params)
end

#following_activities(params = {}) ⇒ Object



51
52
53
# File 'lib/annict/api_methods.rb', line 51

def following_activities(params = {})
  send_get("/v1/me/following_activities", params)
end

#me(params = {}) ⇒ Object



31
32
33
# File 'lib/annict/api_methods.rb', line 31

def me(params = {})
  send_get("/v1/me", params)
end

#own_works(params = {}) ⇒ Object



43
44
45
# File 'lib/annict/api_methods.rb', line 43

def own_works(params = {})
  send_get("/v1/me/works", params)
end

#programs(params = {}) ⇒ Object



47
48
49
# File 'lib/annict/api_methods.rb', line 47

def programs(params = {})
  send_get("/v1/me/programs", params)
end

#records(params = {}) ⇒ Object



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

def records(params = {})
  send_get("/v1/records", params)
end

#users(params = {}) ⇒ Object



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

def users(params = {})
  send_get("/v1/users", params)
end

#works(params = {}) ⇒ Object



3
4
5
# File 'lib/annict/api_methods.rb', line 3

def works(params = {})
  send_get("/v1/works", params)
end