Sha256: 701e7f827ea07e9ff619f85a7bbd69552d145cb7ee7478104f50f0f82b1a6a77

Contents?: true

Size: 228 Bytes

Versions: 2

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true
require 'json'

module SchoologyClient
  class GroupResource < Resource
    def create(**attributes)
      GroupResource.new post_request("groups", body: attributes.to_json).body
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
strongmind-schoology-client-0.1.4 lib/schoology_client/resources/group.rb
strongmind-schoology-client-0.1.3 lib/schoology_client/resources/group.rb