alula-ruby 0.64.0 → 0.65.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gem-push.yml +1 -1
- data/VERSION.md +1 -0
- data/lib/alula/resources/oauth_client.rb +63 -0
- data/lib/alula/version.rb +1 -1
- data/lib/alula.rb +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41d2f72bfe122495a410d31dd66b303ab12bef75e5c89f2d8dfe24c8ff76a38c
|
4
|
+
data.tar.gz: 8a8017aaf94172921f63e0cc89bb4250482b68a9b3bcf554f33d70553415f27c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10df93d105f554483c9a4b17ce15de967a3d623e48cd6c3d50af85d59da3df1691dd8190bef6f8aa37aeb3f7fdb0f90e9c2c46094840c962a5674f43b501dc5c
|
7
|
+
data.tar.gz: 50a3a7f1910b085d6d8b6e46598e2008b088cca19d94dd3032eafaf75f6f6935315960e654198fdfd321f36521c4ca3e3bbe1d892968dbbb3f91a9f0d713c856
|
data/VERSION.md
CHANGED
@@ -0,0 +1,63 @@
|
|
1
|
+
module Alula
|
2
|
+
class OAuthClient < Alula::RestResource
|
3
|
+
extend Alula::ResourceAttributes
|
4
|
+
extend Alula::ApiOperations::Request
|
5
|
+
extend Alula::ApiOperations::List
|
6
|
+
extend Alula::ApiOperations::Save
|
7
|
+
|
8
|
+
resource_path 'oauth/clients'
|
9
|
+
type 'oauth-clients'
|
10
|
+
|
11
|
+
# Resource Fields
|
12
|
+
# Not all params are used at the moment. See Alula::ResourceAttributes for details
|
13
|
+
# on how params are parsed,
|
14
|
+
field :id,
|
15
|
+
type: :string,
|
16
|
+
sortable: false,
|
17
|
+
filterable: false,
|
18
|
+
creatable_by: [:system],
|
19
|
+
patchable_by: [:system]
|
20
|
+
|
21
|
+
field :client_secret,
|
22
|
+
type: :string,
|
23
|
+
sortable: false,
|
24
|
+
filterable: false,
|
25
|
+
creatable_by: [:system],
|
26
|
+
patchable_by: [:system]
|
27
|
+
|
28
|
+
field :redirect_uri,
|
29
|
+
type: :array,
|
30
|
+
sortable: false,
|
31
|
+
filterable: false,
|
32
|
+
creatable_by: [:system],
|
33
|
+
patchable_by: [:system]
|
34
|
+
|
35
|
+
field :client_name,
|
36
|
+
type: :string,
|
37
|
+
sortable: true,
|
38
|
+
filterable: true,
|
39
|
+
creatable_by: [:system],
|
40
|
+
patchable_by: [:system]
|
41
|
+
|
42
|
+
field :client_author,
|
43
|
+
type: :string,
|
44
|
+
sortable: true,
|
45
|
+
filterable: true,
|
46
|
+
creatable_by: [:system],
|
47
|
+
patchable_by: [:system]
|
48
|
+
|
49
|
+
field :scope,
|
50
|
+
type: :date,
|
51
|
+
sortable: false,
|
52
|
+
filterable: false,
|
53
|
+
creatable_by: [:system],
|
54
|
+
patchable_by: [:system]
|
55
|
+
|
56
|
+
field :user_id,
|
57
|
+
type: :date,
|
58
|
+
sortable: false,
|
59
|
+
filterable: true,
|
60
|
+
creatable_by: [:system],
|
61
|
+
patchable_by: [:system]
|
62
|
+
end
|
63
|
+
end
|
data/lib/alula/version.rb
CHANGED
data/lib/alula.rb
CHANGED
@@ -56,6 +56,7 @@ require_relative 'alula/resources/receiver_connection'
|
|
56
56
|
require_relative 'alula/resources/receiver_group'
|
57
57
|
require_relative 'alula/resources/revision'
|
58
58
|
require_relative 'alula/resources/station'
|
59
|
+
require_relative 'alula/resources/oauth_client'
|
59
60
|
|
60
61
|
require_relative 'alula/resources/feature_plan'
|
61
62
|
require_relative 'alula/resources/feature_planvideo'
|
@@ -123,6 +124,7 @@ module Alula
|
|
123
124
|
Alula::FeaturePlanVideo,
|
124
125
|
Alula::FeaturePrice,
|
125
126
|
Alula::FeatureBySubject,
|
127
|
+
Alula::OAuthClient,
|
126
128
|
].each_with_object({}) do |klass, resource_map|
|
127
129
|
resource_map[klass.get_type] = klass
|
128
130
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alula-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.65.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Titus Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -256,6 +256,7 @@ files:
|
|
256
256
|
- lib/alula/resources/feature_plan.rb
|
257
257
|
- lib/alula/resources/feature_planvideo.rb
|
258
258
|
- lib/alula/resources/feature_price.rb
|
259
|
+
- lib/alula/resources/oauth_client.rb
|
259
260
|
- lib/alula/resources/receiver_connection.rb
|
260
261
|
- lib/alula/resources/receiver_group.rb
|
261
262
|
- lib/alula/resources/revision.rb
|