Module: Gitea::Api::Settings

Included in:
Client
Defined in:
lib/gitea/api/settings.rb

Instance Method Summary collapse

Instance Method Details

#get_settings_api(opt = {}) ⇒ Object



4
5
6
# File 'lib/gitea/api/settings.rb', line 4

def get_settings_api(opt = {})
  @http.get("/settings/api", opt)
end

#get_settings_attachment(opt = {}) ⇒ Object



8
9
10
# File 'lib/gitea/api/settings.rb', line 8

def get_settings_attachment(opt = {})
  @http.get("/settings/attachment", opt)
end

#get_settings_repository(opt = {}) ⇒ Object



12
13
14
# File 'lib/gitea/api/settings.rb', line 12

def get_settings_repository(opt = {})
  @http.get("/settings/repository", opt)
end

#get_settings_ui(opt = {}) ⇒ Object



16
17
18
# File 'lib/gitea/api/settings.rb', line 16

def get_settings_ui(opt = {})
  @http.get("/settings/ui", opt)
end