Sha256: b85d2f77704f8f6f9dcdd2d488bcab1b1f7ca364aab10493b84288efcce24001
Contents?: true
Size: 335 Bytes
Versions: 37
Compression:
Stored size: 335 Bytes
Contents
module Bearcat class Client < Footrest::Client module Pages extend ClientModule context_types %i[course group] do |ct| prefix "/api/v1/#{ct}s/:#{ct}/pages/" do get :"list_#{ct}_pages" post :"add_#{ct}_page" get :"show_#{ct}_page", ":url" end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems