domoscio_admin 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e13dd13b5a0c4607c41a261227b9be65de5badb861d91ecbb67aba15673f805f
4
- data.tar.gz: d784655c5a27452520635b6ac6583cae4d9284c0a3c4e2d179f8a6895a6ff776
3
+ metadata.gz: f4c0246319d89ad54f3d99b532f931378714c1f1dc2dd53674790d9d1742104f
4
+ data.tar.gz: 82daf059a12007b9591a7380078b7322ef272786f392a87b3fceed7b64e52650
5
5
  SHA512:
6
- metadata.gz: cb361e7fbe82c675eb44ace0a1832e37b350c7b559f89fb81d9e6fe56a94134870203afe62ad7e4bd97aff8c25afe5e73a948cbe19605da0e5fb72e43cbf359c
7
- data.tar.gz: 24bcca18f7358fd06da67754f7981f37d1359c752e31745b5d9d91361782faa688f14e38b72ad8eb14b6e5ed79b863865ccf692f375acd4fe5d24ea27bb7db64
6
+ metadata.gz: ca430e346eb0d35cde4aebca69e88c51cc7f5a0cad67880efa57b0435872a7779ea44abaf6a332d8494225f8ddfa690f87d402e34af7350a902aa275e4a73b4c
7
+ data.tar.gz: a190cc943f244d186267aa1d8af8ec234941b26c7f51748b43d8ead6f5a2d23df3e7ff57aeeae245f1467a1a82811696e15f4b9b023f4ad1db6c9cf904345878
@@ -0,0 +1,8 @@
1
+ module DomoscioAdmin
2
+ class LearningProgram < ResourceInstance
3
+ include DomoscioAdmin::HTTPCalls::Create
4
+ include DomoscioAdmin::HTTPCalls::Fetch
5
+ include DomoscioAdmin::HTTPCalls::Update
6
+ include DomoscioAdmin::HTTPCalls::Destroy
7
+ end
8
+ end
@@ -7,7 +7,7 @@ module DomoscioAdmin
7
7
  end
8
8
 
9
9
  build_url = "/users"
10
- build_url << "/#{CGI.escape(id.to_s.replace('.', '%2E'))}" if id
10
+ build_url << "/#{CGI.escape(id.to_s.gsub('.', '%2E'))}" if id
11
11
  return build_url
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module DomoscioAdmin
2
- VERSION = '0.3.5'.freeze
2
+ VERSION = '0.3.6'.freeze
3
3
  end
@@ -12,6 +12,7 @@ require 'domoscio_admin/resources/resource_instance'
12
12
  require 'domoscio_admin/resources/instances/instance_parameter'
13
13
  require 'domoscio_admin/resources/instances/instance_user'
14
14
  require 'domoscio_admin/resources/instances/student_group'
15
+ require 'domoscio_admin/resources/instances/learning_program'
15
16
  require 'domoscio_admin/resources/users/user'
16
17
 
17
18
  module DomoscioAdmin
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domoscio_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pascal Lim
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-15 00:00:00.000000000 Z
11
+ date: 2022-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -55,6 +55,7 @@ files:
55
55
  - lib/domoscio_admin/json.rb
56
56
  - lib/domoscio_admin/resources/instances/instance_parameter.rb
57
57
  - lib/domoscio_admin/resources/instances/instance_user.rb
58
+ - lib/domoscio_admin/resources/instances/learning_program.rb
58
59
  - lib/domoscio_admin/resources/instances/student_group.rb
59
60
  - lib/domoscio_admin/resources/resource.rb
60
61
  - lib/domoscio_admin/resources/resource_instance.rb
@@ -66,7 +67,7 @@ homepage: https://www.domoscio.com
66
67
  licenses:
67
68
  - MIT
68
69
  metadata: {}
69
- post_install_message:
70
+ post_install_message:
70
71
  rdoc_options: []
71
72
  require_paths:
72
73
  - lib
@@ -82,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
83
  version: '0'
83
84
  requirements: []
84
85
  rubygems_version: 3.2.22
85
- signing_key:
86
+ signing_key:
86
87
  specification_version: 4
87
88
  summary: Summary of DomoscioAdmin.
88
89
  test_files: