Class: HighLevel::Resources::Courses

Inherits:
Base
  • Object
show all
Defined in:
lib/high_level/resources/courses.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from HighLevel::Resources::Base

Instance Method Details

#import_courses(body:, **_opts) ⇒ Object

Import Courses

Import Courses through public channels



12
13
14
15
16
17
18
19
# File 'lib/high_level/resources/courses.rb', line 12

def import_courses(body:, **_opts)
  request(
    method: :post,
    path: "/courses/courses-exporter/public/import",
    security: ["bearer"],
    body: body
  )
end