Module: Wework::Api::Methods::Menu

Included in:
Agent
Defined in:
lib/wework/api/methods/menu.rb

Instance Method Summary collapse

Instance Method Details



7
8
9
# File 'lib/wework/api/methods/menu.rb', line 7

def menu_create menu
  post 'menu/create', menu, params: {agentid: agent_id}
end


15
16
17
# File 'lib/wework/api/methods/menu.rb', line 15

def menu_delete
  get 'menu/delete', params: {agentid: agent_id}
end


11
12
13
# File 'lib/wework/api/methods/menu.rb', line 11

def menu_get
  get 'menu/get', params: {agentid: agent_id}
end