Sha256: c15fa9a3dead8dd25410d540da0f4bc92c5994b7ee2d07cd58ca900bf0917f74

Contents?: true

Size: 394 Bytes

Versions: 16

Compression:

Stored size: 394 Bytes

Contents

require "erb"

module Wework
  module Api
    module Methods
      module Menu
        def menu_create menu
          post 'menu/create', menu, params: {agentid: agent_id}
        end

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

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

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
wework-next-1.2.6 lib/wework/api/methods/menu.rb
wework-1.2.8 lib/wework/api/methods/menu.rb
wework-1.2.5 lib/wework/api/methods/menu.rb
wework-1.2.3 lib/wework/api/methods/menu.rb
wework-1.2.2 lib/wework/api/methods/menu.rb
wework-1.2.1 lib/wework/api/methods/menu.rb
wework-1.2.0 lib/wework/api/methods/menu.rb
wework-1.1.9 lib/wework/api/methods/menu.rb
wework-1.1.8 lib/wework/api/methods/menu.rb
wework-1.1.7 lib/wework/api/methods/menu.rb
wework-1.1.6 lib/wework/api/methods/menu.rb
wework-1.1.5 lib/wework/api/methods/menu.rb
wework-1.1.3 lib/wework/api/methods/menu.rb
wework-1.1.2 lib/wework/api/methods/menu.rb
wework-1.1.1 lib/wework/api/methods/menu.rb
wework-1.1.0 lib/wework/api/methods/menu.rb