redmine_api_helper 0.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of redmine_api_helper might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/.gitattributes +2 -0
- data/.gitignore +11 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE +339 -0
- data/README.md +30 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/date_helper/date.rb +311 -0
- data/lib/odf_writer/bookmark.rb +110 -0
- data/lib/odf_writer/bookmark_reader.rb +77 -0
- data/lib/odf_writer/document.rb +372 -0
- data/lib/odf_writer/field.rb +174 -0
- data/lib/odf_writer/field_reader.rb +78 -0
- data/lib/odf_writer/image.rb +158 -0
- data/lib/odf_writer/image_reader.rb +76 -0
- data/lib/odf_writer/images.rb +89 -0
- data/lib/odf_writer/list_style.rb +331 -0
- data/lib/odf_writer/nested.rb +156 -0
- data/lib/odf_writer/odf_helper.rb +56 -0
- data/lib/odf_writer/parser/default.rb +685 -0
- data/lib/odf_writer/path_finder.rb +114 -0
- data/lib/odf_writer/section.rb +120 -0
- data/lib/odf_writer/section_reader.rb +61 -0
- data/lib/odf_writer/style.rb +417 -0
- data/lib/odf_writer/table.rb +135 -0
- data/lib/odf_writer/table_reader.rb +61 -0
- data/lib/odf_writer/template.rb +222 -0
- data/lib/odf_writer/text.rb +97 -0
- data/lib/odf_writer/text_reader.rb +77 -0
- data/lib/odf_writer/version.rb +29 -0
- data/lib/redmine_api_helper/api_helper.rb +333 -0
- data/lib/redmine_api_helper/args_helper.rb +106 -0
- data/lib/redmine_api_helper/attachments_api_helper.rb +52 -0
- data/lib/redmine_api_helper/define_api_helpers.rb +78 -0
- data/lib/redmine_api_helper/document_categories_api_helper.rb +38 -0
- data/lib/redmine_api_helper/groups_api_helper.rb +80 -0
- data/lib/redmine_api_helper/helpers.rb +50 -0
- data/lib/redmine_api_helper/issue_priorities_api_helper.rb +38 -0
- data/lib/redmine_api_helper/issue_relations_api_helper.rb +66 -0
- data/lib/redmine_api_helper/issue_statuses_api_helper.rb +36 -0
- data/lib/redmine_api_helper/issues_api_helper.rb +124 -0
- data/lib/redmine_api_helper/my_account_api_helper.rb +45 -0
- data/lib/redmine_api_helper/news_api_helper.rb +73 -0
- data/lib/redmine_api_helper/project_memberships_api_helper.rb +77 -0
- data/lib/redmine_api_helper/projects_api_helper.rb +73 -0
- data/lib/redmine_api_helper/roles_api_helper.rb +52 -0
- data/lib/redmine_api_helper/scripts_api_helper.rb +87 -0
- data/lib/redmine_api_helper/search_api_helper.rb +38 -0
- data/lib/redmine_api_helper/time_entries_api_helper.rb +73 -0
- data/lib/redmine_api_helper/time_entry_activities_api_helper.rb +38 -0
- data/lib/redmine_api_helper/trackers_api_helper.rb +38 -0
- data/lib/redmine_api_helper/users_api_helper.rb +73 -0
- data/lib/redmine_api_helper/version.rb +24 -0
- data/lib/redmine_api_helper/wiki_pages_api_helper.rb +66 -0
- data/lib/redmine_api_helper.rb +88 -0
- data/redmine_api_helper.gemspec +35 -0
- metadata +148 -0
@@ -0,0 +1,87 @@
|
|
1
|
+
##
|
2
|
+
# aids creating fiddles for redmine_scripting_engine
|
3
|
+
#
|
4
|
+
# Copyright © 2021 Stephan Wenzel <stephan.wenzel@drwpatent.de>
|
5
|
+
#
|
6
|
+
# This program is free software; you can redistribute it and/or
|
7
|
+
# modify it under the terms of the GNU General Public License
|
8
|
+
# as published by the Free Software Foundation; either version 2
|
9
|
+
# of the License, or (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License
|
17
|
+
# along with this program; if not, write to the Free Software
|
18
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
19
|
+
#
|
20
|
+
module RedmineAPIHelper
|
21
|
+
module ScriptsAPIHelper
|
22
|
+
|
23
|
+
########################################################################################
|
24
|
+
# reads scripts_url from args
|
25
|
+
########################################################################################
|
26
|
+
def scripts_url(**params)
|
27
|
+
url_path(args.urls.Home, 'scripts', params)
|
28
|
+
end #def
|
29
|
+
|
30
|
+
########################################################################################
|
31
|
+
# reads project_scripts_url from args
|
32
|
+
########################################################################################
|
33
|
+
def project_scripts_url(project_id, **params)
|
34
|
+
url_path(project_url(project_id), 'scripts', params)
|
35
|
+
end #def
|
36
|
+
|
37
|
+
########################################################################################
|
38
|
+
# reads run_script_url from args
|
39
|
+
########################################################################################
|
40
|
+
def run_script_url(id, **params)
|
41
|
+
url_path(scripts_url, id, 'run', params)
|
42
|
+
end #def
|
43
|
+
|
44
|
+
########################################################################################
|
45
|
+
# reads run_project_script_url from args
|
46
|
+
########################################################################################
|
47
|
+
def run_project_script_url(project_id, id, **params)
|
48
|
+
url_path(project_scripts_url(project_id), id, 'run', params)
|
49
|
+
end #def
|
50
|
+
|
51
|
+
########################################################################################
|
52
|
+
# lists scripts, corresponds to controller#index
|
53
|
+
########################################################################################
|
54
|
+
def list_scripts(project_id, **params)
|
55
|
+
list_objects(:scripts, params)
|
56
|
+
end #def
|
57
|
+
|
58
|
+
########################################################################################
|
59
|
+
# lists scripts, corresponds to controller#index
|
60
|
+
########################################################################################
|
61
|
+
def list_project_scripts(project_id, **params)
|
62
|
+
list_project_objects(project_id, :scripts, params)
|
63
|
+
end #def
|
64
|
+
|
65
|
+
########################################################################################
|
66
|
+
# reads script having id, corresponds to controller#show
|
67
|
+
########################################################################################
|
68
|
+
def read_script(id, **params)
|
69
|
+
read_object(:script, id, params)
|
70
|
+
end #def
|
71
|
+
|
72
|
+
########################################################################################
|
73
|
+
# runs script having id, corresponds to controller#run
|
74
|
+
########################################################################################
|
75
|
+
def run_script(id, **params)
|
76
|
+
jget(:url => run_script_url(id), :params => params ).script
|
77
|
+
end #def
|
78
|
+
|
79
|
+
########################################################################################
|
80
|
+
# runs script having id, corresponds to controller#run
|
81
|
+
########################################################################################
|
82
|
+
def run_project_script(project_id, id, **params)
|
83
|
+
jget(:url => run_project_script_url(project_id, id), :params => params ).script
|
84
|
+
end #def
|
85
|
+
|
86
|
+
end #module
|
87
|
+
end #module
|
@@ -0,0 +1,38 @@
|
|
1
|
+
##
|
2
|
+
# aids creating fiddles for redmine_scripting_engine
|
3
|
+
#
|
4
|
+
# Copyright 2021 Stephan Wenzel <stephan.wenzel@drwpatent.de>
|
5
|
+
#
|
6
|
+
# This program is free software; you can redistribute it and/or
|
7
|
+
# modify it under the terms of the GNU General Public License
|
8
|
+
# as published by the Free Software Foundation; either version 2
|
9
|
+
# of the License, or (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License
|
17
|
+
# along with this program; if not, write to the Free Software
|
18
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
19
|
+
#
|
20
|
+
module RedmineAPIHelper
|
21
|
+
module SearchAPIHelper
|
22
|
+
|
23
|
+
########################################################################################
|
24
|
+
# reads my_account_url from args
|
25
|
+
########################################################################################
|
26
|
+
def search_url(**params)
|
27
|
+
url_path(args.urls.Home, "search", params)
|
28
|
+
end #def
|
29
|
+
|
30
|
+
########################################################################################
|
31
|
+
# list_search result, corresponds to controller#index
|
32
|
+
########################################################################################
|
33
|
+
def list_search(**params)
|
34
|
+
jget(:url => search_url, :params => params).results
|
35
|
+
end #def
|
36
|
+
|
37
|
+
end #module
|
38
|
+
end #module
|
@@ -0,0 +1,73 @@
|
|
1
|
+
##
|
2
|
+
# aids creating fiddles for redmine_scripting_engine
|
3
|
+
#
|
4
|
+
# Copyright 2021 Stephan Wenzel <stephan.wenzel@drwpatent.de>
|
5
|
+
#
|
6
|
+
# This program is free software; you can redistribute it and/or
|
7
|
+
# modify it under the terms of the GNU General Public License
|
8
|
+
# as published by the Free Software Foundation; either version 2
|
9
|
+
# of the License, or (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License
|
17
|
+
# along with this program; if not, write to the Free Software
|
18
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
19
|
+
#
|
20
|
+
module RedmineAPIHelper
|
21
|
+
module TimeEntriesAPIHelper
|
22
|
+
|
23
|
+
########################################################################################
|
24
|
+
# reads time_entries_url from args
|
25
|
+
########################################################################################
|
26
|
+
def time_entries_url(**params)
|
27
|
+
url_path(args.urls.Home, "time_entries", params)
|
28
|
+
end #def
|
29
|
+
|
30
|
+
########################################################################################
|
31
|
+
# creates a time_entry_url
|
32
|
+
########################################################################################
|
33
|
+
def time_entry_url(id, **params)
|
34
|
+
url_path(time_entries_url, id, params)
|
35
|
+
end #def
|
36
|
+
|
37
|
+
########################################################################################
|
38
|
+
# lists time_entries, corresponds to controller#index
|
39
|
+
########################################################################################
|
40
|
+
def list_time_entries(**params)
|
41
|
+
list_objects(:time_entries, params)
|
42
|
+
end #def
|
43
|
+
|
44
|
+
########################################################################################
|
45
|
+
# reads time_entry having id, corresponds to controller#show
|
46
|
+
########################################################################################
|
47
|
+
def read_time_entry(id, **params)
|
48
|
+
read_object(:time_entry, id, params)
|
49
|
+
end #def
|
50
|
+
|
51
|
+
########################################################################################
|
52
|
+
# creates a new time_entry with params, corresponds to controller#create
|
53
|
+
########################################################################################
|
54
|
+
def create_time_entry(**params)
|
55
|
+
create_object(:time_entry, params)
|
56
|
+
end #def
|
57
|
+
|
58
|
+
########################################################################################
|
59
|
+
# updates an existing time_entry with params, corresponds to controller#update
|
60
|
+
########################################################################################
|
61
|
+
def update_time_entry(id, **params)
|
62
|
+
update_object(:time_entry, id, params)
|
63
|
+
end #def
|
64
|
+
|
65
|
+
########################################################################################
|
66
|
+
# deletes an existing time_entry with params, corresponds to controller#destroy
|
67
|
+
########################################################################################
|
68
|
+
def destroy_time_entry(id, **params)
|
69
|
+
destroy_object(:time_entry, id, params)
|
70
|
+
end #def
|
71
|
+
|
72
|
+
end #module
|
73
|
+
end #module
|
@@ -0,0 +1,38 @@
|
|
1
|
+
##
|
2
|
+
# aids creating fiddles for redmine_scripting_engine
|
3
|
+
#
|
4
|
+
# Copyright 2021 Stephan Wenzel <stephan.wenzel@drwpatent.de>
|
5
|
+
#
|
6
|
+
# This program is free software; you can redistribute it and/or
|
7
|
+
# modify it under the terms of the GNU General Public License
|
8
|
+
# as published by the Free Software Foundation; either version 2
|
9
|
+
# of the License, or (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License
|
17
|
+
# along with this program; if not, write to the Free Software
|
18
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
19
|
+
#
|
20
|
+
module RedmineAPIHelper
|
21
|
+
module TimeEntryActivitiesAPIHelper
|
22
|
+
|
23
|
+
########################################################################################
|
24
|
+
# reads time_entry_activities_url from args
|
25
|
+
########################################################################################
|
26
|
+
def time_entry_activities_url(**params)
|
27
|
+
url_path(args.urls.Home, "enumerations", "time_entry_activities", params)
|
28
|
+
end #def
|
29
|
+
|
30
|
+
########################################################################################
|
31
|
+
# lists time_entries, corresponds to controller#index
|
32
|
+
########################################################################################
|
33
|
+
def list_time_entry_activities(**params)
|
34
|
+
list_objects(:time_entry_activities, params)
|
35
|
+
end #def
|
36
|
+
|
37
|
+
end #module
|
38
|
+
end #module
|
@@ -0,0 +1,38 @@
|
|
1
|
+
##
|
2
|
+
# aids creating fiddles for redmine_scripting_engine
|
3
|
+
#
|
4
|
+
# Copyright 2021 Stephan Wenzel <stephan.wenzel@drwpatent.de>
|
5
|
+
#
|
6
|
+
# This program is free software; you can redistribute it and/or
|
7
|
+
# modify it under the terms of the GNU General Public License
|
8
|
+
# as published by the Free Software Foundation; either version 2
|
9
|
+
# of the License, or (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License
|
17
|
+
# along with this program; if not, write to the Free Software
|
18
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
19
|
+
#
|
20
|
+
module RedmineAPIHelper
|
21
|
+
module TrackersAPIHelper
|
22
|
+
|
23
|
+
########################################################################################
|
24
|
+
# reads trackers_url from args
|
25
|
+
########################################################################################
|
26
|
+
def trackers_url(**params)
|
27
|
+
url_path(args.urls.Home, "trackers", params)
|
28
|
+
end #def
|
29
|
+
|
30
|
+
########################################################################################
|
31
|
+
# lists trackers, corresponds to controller#index
|
32
|
+
########################################################################################
|
33
|
+
def list_trackers(**params)
|
34
|
+
list_objects(:tracker, params)
|
35
|
+
end #def
|
36
|
+
|
37
|
+
end #module
|
38
|
+
end #module
|
@@ -0,0 +1,73 @@
|
|
1
|
+
##
|
2
|
+
# aids creating fiddles for redmine_scripting_engine
|
3
|
+
#
|
4
|
+
# Copyright 2021 Stephan Wenzel <stephan.wenzel@drwpatent.de>
|
5
|
+
#
|
6
|
+
# This program is free software; you can redistribute it and/or
|
7
|
+
# modify it under the terms of the GNU General Public License
|
8
|
+
# as published by the Free Software Foundation; either version 2
|
9
|
+
# of the License, or (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License
|
17
|
+
# along with this program; if not, write to the Free Software
|
18
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
19
|
+
#
|
20
|
+
module RedmineAPIHelper
|
21
|
+
module UsersAPIHelper
|
22
|
+
|
23
|
+
########################################################################################
|
24
|
+
# reads users_url from args
|
25
|
+
########################################################################################
|
26
|
+
def users_url(**params)
|
27
|
+
url_path(args.urls.Home, "users", params)
|
28
|
+
end #def
|
29
|
+
|
30
|
+
########################################################################################
|
31
|
+
# crerate user_url
|
32
|
+
########################################################################################
|
33
|
+
def user_url(id, **params)
|
34
|
+
url_path(users_url, id, **params)
|
35
|
+
end #def
|
36
|
+
|
37
|
+
########################################################################################
|
38
|
+
# lists users, corresponds to controller#index
|
39
|
+
########################################################################################
|
40
|
+
def list_users(**params)
|
41
|
+
list_objects(:users, params)
|
42
|
+
end #def
|
43
|
+
|
44
|
+
########################################################################################
|
45
|
+
# reads user having id, corresponds to controller#show
|
46
|
+
########################################################################################
|
47
|
+
def read_user(id, **params)
|
48
|
+
read_object(:user, id, params)
|
49
|
+
end #def
|
50
|
+
|
51
|
+
########################################################################################
|
52
|
+
# creates a new user with params, corresponds to controller#create
|
53
|
+
########################################################################################
|
54
|
+
def create_user(**params)
|
55
|
+
create_object(:user, params)
|
56
|
+
end #def
|
57
|
+
|
58
|
+
########################################################################################
|
59
|
+
# updates an existing user with params, corresponds to controller#update
|
60
|
+
########################################################################################
|
61
|
+
def update_user(id, **params)
|
62
|
+
update_object(:user, id, params)
|
63
|
+
end #def
|
64
|
+
|
65
|
+
########################################################################################
|
66
|
+
# deletes an existing user with params, corresponds to controller#destroy
|
67
|
+
########################################################################################
|
68
|
+
def destroy_user(id, **params)
|
69
|
+
destroy_object(:user, id, params)
|
70
|
+
end #def
|
71
|
+
|
72
|
+
end #module
|
73
|
+
end #module
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
#
|
3
|
+
# aids creating fiddles for redmine_scripting_engine
|
4
|
+
#
|
5
|
+
# Copyright 2021 Stephan Wenzel <stephan.wenzel@drwpatent.de>
|
6
|
+
#
|
7
|
+
# This program is free software; you can redistribute it and/or
|
8
|
+
# modify it under the terms of the GNU General Public License
|
9
|
+
# as published by the Free Software Foundation; either version 2
|
10
|
+
# of the License, or (at your option) any later version.
|
11
|
+
#
|
12
|
+
# This program is distributed in the hope that it will be useful,
|
13
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
# GNU General Public License for more details.
|
16
|
+
#
|
17
|
+
# You should have received a copy of the GNU General Public License
|
18
|
+
# along with this program; if not, write to the Free Software
|
19
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
20
|
+
#
|
21
|
+
|
22
|
+
module RedmineAPIHelper
|
23
|
+
VERSION = "0.3.24"
|
24
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
##
|
2
|
+
# aids creating fiddles for redmine_scripting_engine
|
3
|
+
#
|
4
|
+
# Copyright 2021 Stephan Wenzel <stephan.wenzel@drwpatent.de>
|
5
|
+
#
|
6
|
+
# This program is free software; you can redistribute it and/or
|
7
|
+
# modify it under the terms of the GNU General Public License
|
8
|
+
# as published by the Free Software Foundation; either version 2
|
9
|
+
# of the License, or (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License
|
17
|
+
# along with this program; if not, write to the Free Software
|
18
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
19
|
+
#
|
20
|
+
module RedmineAPIHelper
|
21
|
+
module WikiPagesAPIHelper
|
22
|
+
|
23
|
+
########################################################################################
|
24
|
+
# reads wiki_pages_url from args
|
25
|
+
########################################################################################
|
26
|
+
def project_wiki_pages_url(project_id, **params)
|
27
|
+
url_path(project_url(project_id), "wiki", params)
|
28
|
+
end #def
|
29
|
+
|
30
|
+
########################################################################################
|
31
|
+
# creates wiki_page_url
|
32
|
+
########################################################################################
|
33
|
+
def project_wiki_page_url(project_id, id, **params)
|
34
|
+
url_path(project_wiki_pages_url(project_id), id, params)
|
35
|
+
end #def
|
36
|
+
|
37
|
+
########################################################################################
|
38
|
+
# lists wiki_pages, corresponds to controller#index
|
39
|
+
########################################################################################
|
40
|
+
def list_project_wiki_pages(project_id, **params)
|
41
|
+
jget(:url => url_path(project_wiki_pages_url(project_id), "index"), :params => params )
|
42
|
+
end #def
|
43
|
+
|
44
|
+
########################################################################################
|
45
|
+
# reads wiki_page having id, corresponds to controller#show
|
46
|
+
########################################################################################
|
47
|
+
def read_project_wiki_page(project_id, title, **params)
|
48
|
+
jget(:url => url_path(project_wiki_pages_url(project_id), title), :params => params ).wiki_page
|
49
|
+
end #def
|
50
|
+
|
51
|
+
########################################################################################
|
52
|
+
# updates or creates an existing wiki_page with params, corresponds to controller#update
|
53
|
+
########################################################################################
|
54
|
+
def create_or_update_project_wiki_page(project_id, title, **params)
|
55
|
+
jput({:wiki_page => params}, :url => url_path(project_wiki_pages_url(project_id), title))
|
56
|
+
end #def
|
57
|
+
|
58
|
+
########################################################################################
|
59
|
+
# deletes an existing wiki_page with params, corresponds to controller#destroy
|
60
|
+
########################################################################################
|
61
|
+
def destroy_project_wiki_page(project_id, id, **params)
|
62
|
+
jdel(:url => url_path(project_wiki_pages_url(project_id), id), :params => params )
|
63
|
+
end #def
|
64
|
+
|
65
|
+
end #module
|
66
|
+
end #module
|