Sha256: 2a9416531efa0a4569446ddc3ac300db440fa27729ceaf5ecb88452b292e56c6
Contents?: true
Size: 644 Bytes
Versions: 16
Compression:
Stored size: 644 Bytes
Contents
module FileboundClient module Endpoints # Module for Assignments resource endpoint module Assignments # This will call macros to create resource methods on the fly def self.included(klass) klass.instance_eval do allow_new :assignment allow_all :assignments end end # Gets the projects that the user has assignments in # @param [Hash] query_params optional query params to pass to the request # @return [Array] array of assignments def assignments_projects(query_params = nil) get('/assignments/projects', query_params) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems