Sha256: 5513b944ac821f315fbb23e829df45cc1edcb68ae2c914ae487d9ecab88c513a

Contents?: true

Size: 503 Bytes

Versions: 15

Compression:

Stored size: 503 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module Modules

      def course_modules(course, params = {})
        get("/api/v1/courses/#{course.to_s}/modules", params)
      end

      def course_module_item_sequence(course, params = {})
        get("/api/v1/courses/#{course}/module_item_sequence", params)
      end

      def course_module(course_id, context_module_id, params={})
        get("/api/v1/courses/#{course_id}/modules/#{context_module_id}", params)
      end

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bearcat-1.3.38 lib/bearcat/client/modules.rb
bearcat-1.3.37 lib/bearcat/client/modules.rb
bearcat-1.3.36 lib/bearcat/client/modules.rb
bearcat-1.3.35 lib/bearcat/client/modules.rb
bearcat-1.3.34 lib/bearcat/client/modules.rb
bearcat-1.3.33 lib/bearcat/client/modules.rb
bearcat-1.3.32 lib/bearcat/client/modules.rb
bearcat-1.3.30 lib/bearcat/client/modules.rb
bearcat-1.3.28 lib/bearcat/client/modules.rb
bearcat-1.3.27 lib/bearcat/client/modules.rb
bearcat-1.3.26 lib/bearcat/client/modules.rb
bearcat-1.3.25 lib/bearcat/client/modules.rb
bearcat-1.3.24 lib/bearcat/client/modules.rb
bearcat-1.3.23 lib/bearcat/client/modules.rb
bearcat-1.3.22 lib/bearcat/client/modules.rb