domoscio_rails 0.2.9 → 0.2.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +0 -0
  3. data/README.rdoc +0 -0
  4. data/Rakefile +0 -0
  5. data/lib/domoscio_rails.rb +88 -29
  6. data/lib/domoscio_rails.tbz +0 -0
  7. data/lib/domoscio_rails/adaptative/deterministic/path_rule.rb +0 -0
  8. data/lib/domoscio_rails/adaptative/deterministic/rule_condition.rb +0 -0
  9. data/lib/domoscio_rails/adaptative/deterministic/rule_input.rb +0 -0
  10. data/lib/domoscio_rails/adaptative/deterministic/rule_output.rb +0 -0
  11. data/lib/domoscio_rails/adaptative/predictive/objective.rb +0 -0
  12. data/lib/domoscio_rails/adaptative/predictive/objective_knowledge_node.rb +6 -0
  13. data/lib/domoscio_rails/adaptative/predictive/objective_knowledge_node_student.rb +7 -0
  14. data/lib/domoscio_rails/adaptative/predictive/objective_student.rb +2 -1
  15. data/lib/domoscio_rails/adaptative/recommendation.rb +0 -0
  16. data/lib/domoscio_rails/admin/instance.rb +0 -0
  17. data/lib/domoscio_rails/authorization_token.rb +4 -12
  18. data/lib/domoscio_rails/content/content.rb +0 -0
  19. data/lib/domoscio_rails/content/knowledge_node_content.rb +0 -0
  20. data/lib/domoscio_rails/data/event.rb +0 -0
  21. data/lib/domoscio_rails/data/knowledge_node_student.rb +0 -0
  22. data/lib/domoscio_rails/data/learning_session.rb +10 -0
  23. data/lib/domoscio_rails/data/result.rb +0 -0
  24. data/lib/domoscio_rails/errors.rb +0 -0
  25. data/lib/domoscio_rails/http_calls.rb +12 -9
  26. data/lib/domoscio_rails/json.rb +0 -0
  27. data/lib/domoscio_rails/knowledge/knowledge_edge.rb +0 -0
  28. data/lib/domoscio_rails/knowledge/knowledge_graph.rb +0 -0
  29. data/lib/domoscio_rails/knowledge/knowledge_node.rb +0 -0
  30. data/lib/domoscio_rails/metadata/delta_object.rb +6 -0
  31. data/lib/domoscio_rails/metadata/tag.rb +0 -0
  32. data/lib/domoscio_rails/metadata/tag_edge.rb +0 -0
  33. data/lib/domoscio_rails/metadata/tag_set.rb +0 -0
  34. data/lib/domoscio_rails/metadata/tagging.rb +0 -0
  35. data/lib/domoscio_rails/path/learning_path.rb +0 -0
  36. data/lib/domoscio_rails/resource.rb +0 -0
  37. data/lib/domoscio_rails/student/student.rb +0 -0
  38. data/lib/domoscio_rails/student/student_cluster.rb +1 -4
  39. data/lib/domoscio_rails/utils/alerts_util.rb +6 -0
  40. data/lib/domoscio_rails/utils/gameplay_util.rb +6 -0
  41. data/lib/domoscio_rails/utils/recommendation_util.rb +6 -0
  42. data/lib/domoscio_rails/utils/review_util.rb +0 -0
  43. data/lib/domoscio_rails/version.rb +1 -1
  44. data/lib/tasks/domoscio_rails_tasks.rake +0 -0
  45. metadata +45 -46
  46. data/lib/domoscio_rails/admin/user.rb +0 -10
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2e65b20fbb19d6e363f6214478559ab6fd6c1ae3019ef0299194a6493f75f394
4
+ data.tar.gz: 9831438d3d80c5e8debba7aa88de839d6479989111a1099eb507bddccdb4ff4a
5
+ SHA512:
6
+ metadata.gz: 33474eb5e3e17367291e04441c2358884ca4ad4face76b8516414abf33ae53843177364b399d670e88d33c7a7dc234e0bdd070f6db074584d120192d987c46f9
7
+ data.tar.gz: 502b49eee6729cf8e2dd549e1cef46781e5eb9064277b62786f265ce2f8aa63c380ed90cbbb5a78e69cdbb00c910335ddbd5733ed02ebe2202d47f08873936d9
File without changes
File without changes
data/Rakefile CHANGED
File without changes
@@ -1,5 +1,5 @@
1
-
2
- require 'net/http'
1
+
2
+ require 'net/https'
3
3
  require 'cgi/util'
4
4
  require 'multi_json'
5
5
 
@@ -18,11 +18,12 @@ require 'domoscio_rails/adaptative/deterministic/rule_output'
18
18
  require 'domoscio_rails/adaptative/deterministic/rule_condition'
19
19
  require 'domoscio_rails/adaptative/predictive/objective'
20
20
  require 'domoscio_rails/adaptative/predictive/objective_student'
21
+ require 'domoscio_rails/adaptative/predictive/objective_knowledge_node'
22
+ require 'domoscio_rails/adaptative/predictive/objective_knowledge_node_student'
21
23
  require 'domoscio_rails/adaptative/recommendation'
22
24
  require 'domoscio_rails/path/learning_path'
23
25
  require 'domoscio_rails/content/content'
24
26
  require 'domoscio_rails/content/knowledge_node_content'
25
- require 'domoscio_rails/admin/user'
26
27
  require 'domoscio_rails/student/student'
27
28
  require 'domoscio_rails/student/student_cluster'
28
29
  require 'domoscio_rails/knowledge/knowledge_graph'
@@ -34,16 +35,20 @@ require 'domoscio_rails/metadata/tag_set'
34
35
  require 'domoscio_rails/metadata/tag_edge'
35
36
  require 'domoscio_rails/data/knowledge_node_student'
36
37
  require 'domoscio_rails/data/event'
38
+ require 'domoscio_rails/data/learning_session'
37
39
  require 'domoscio_rails/utils/review_util'
38
-
40
+ require 'domoscio_rails/utils/gameplay_util'
41
+ require 'domoscio_rails/utils/alerts_util'
42
+ require 'domoscio_rails/utils/recommendation_util'
43
+ require 'domoscio_rails/metadata/delta_object'
39
44
 
40
45
  module DomoscioRails
41
46
 
42
47
  class Configuration
43
- attr_accessor :preproduction, :root_url,
44
- :client_id, :client_passphrase,
48
+ attr_accessor :preproduction, :test, :dev, :root_url,
49
+ :client_id, :client_passphrase, :client_identifier,
45
50
  :temp_dir, :disabled, :version
46
-
51
+
47
52
  def disabled
48
53
  @disabled || false
49
54
  end
@@ -51,13 +56,31 @@ module DomoscioRails
51
56
  def preproduction
52
57
  @preproduction || false
53
58
  end
54
-
59
+
60
+ def test
61
+ @test || false
62
+ end
63
+
64
+ def dev
65
+ @dev || false
66
+ end
67
+
55
68
  def version
56
69
  @version || 1
57
70
  end
58
71
 
59
72
  def root_url
60
- @root_url || (@preproduction == true ? ( @version > 1 ? "http://api.domoscio.com" : "http://stats-engine-api.domoscio.com" ) : "http://localhost:3001/")
73
+ if @preproduction == true
74
+ if @test == true
75
+ @root_url || "https://staging.adaptive-engine.domoscio.com"
76
+ elsif @dev == true
77
+ @root_url || "https://preprod.adaptive-engine.domoscio.com"
78
+ else
79
+ @root_url || "https://adaptive-engine.domoscio.com"
80
+ end
81
+ else
82
+ @root_url || "http://localhost:3001"
83
+ end
61
84
  end
62
85
  end
63
86
 
@@ -87,22 +110,38 @@ module DomoscioRails
87
110
  def self.request(method, url, params={}, filters={}, headers = request_headers, before_request_proc = nil)
88
111
  return false if @disabled
89
112
  uri = api_uri(url)
90
- uri.query = URI.encode_www_form(filters) unless filters.empty?
91
-
92
- res = Net::HTTP.start(uri.host, uri.port) do |http| # , use_ssl: uri.scheme == 'https') do |http|
93
- req = Net::HTTP::const_get(method.capitalize).new(uri.request_uri, headers)
94
- req.body = DomoscioRails::JSON.dump(params)
95
- before_request_proc.call(req) if before_request_proc
96
- http.request req
97
- end
113
+ uri.query = URI.encode_www_form(filters) unless filters.empty?
114
+
115
+ res = DomoscioRails.send_request(uri, method, params, headers, before_request_proc)
98
116
 
99
117
  # decode json data
100
118
  begin
101
119
  data = DomoscioRails::JSON.load(res.body.nil? ? '' : res.body)
120
+ unless (res.kind_of? Net::HTTPClientError) || (res.kind_of? Net::HTTPServerError)
121
+ DomoscioRails::AuthorizationToken::Manager.storage.store({access_token: res['Accesstoken'], refresh_token: res['Refreshtoken']})
122
+ end
102
123
  rescue MultiJson::LoadError
103
124
  data = {}
104
125
  end
105
126
 
127
+ if res['Total'] && !filters[:page]
128
+ pagetotal = (res['Total'].to_i / res['Per-Page'].to_f).ceil
129
+
130
+ for j in 2..pagetotal
131
+ params = params.merge({page: j})
132
+ res = DomoscioRails.send_request(uri, method, params, headers, before_request_proc)
133
+
134
+ # decode json data
135
+ begin
136
+ data += DomoscioRails::JSON.load(res.body.nil? ? '' : res.body)
137
+ data.flatten!
138
+ rescue MultiJson::LoadError
139
+ data = {}
140
+ end
141
+
142
+ end
143
+ end
144
+
106
145
  ############### TEMP!!!! #######################################################
107
146
  #pp method, uri.request_uri, params #, filters, headers
108
147
  #pp res, data
@@ -123,6 +162,16 @@ module DomoscioRails
123
162
  data
124
163
  end
125
164
 
165
+
166
+ def self.send_request(uri, method, params, headers, before_request_proc)
167
+ res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https') do |http| # , use_ssl: uri.scheme == 'https') do |http|
168
+ req = Net::HTTP::const_get(method.capitalize).new(uri.request_uri, headers)
169
+ req.body = DomoscioRails::JSON.dump(params)
170
+ before_request_proc.call(req) if before_request_proc
171
+ http.request req
172
+ end
173
+ end
174
+
126
175
  private
127
176
 
128
177
  def self.user_agent
@@ -145,17 +194,27 @@ module DomoscioRails
145
194
 
146
195
  def self.request_headers
147
196
  auth_token = DomoscioRails::AuthorizationToken::Manager.get_token
148
- headers = {
149
- 'user_agent' => "DomoscioRails V2 RubyBindings/#{DomoscioRails::VERSION}",
150
- 'Authorization' => "Token token=#{DomoscioRails.configuration.client_passphrase}",#"#{auth_token['token_type']} #{auth_token['access_token']}",
151
- 'Content-Type' => 'application/json'
152
- }
153
- # begin
154
- # headers.update('x_mangopay_client_user_agent' => DomoscioRails::JSON.dump(user_agent))
155
- # rescue => e
156
- # headers.update('x_mangopay_client_raw_user_agent' => user_agent.inspect, error: "#{e} (#{e.class})")
157
- # end
197
+ client_identifier = DomoscioRails.configuration.client_identifier
198
+
199
+ if !auth_token.is_a? String
200
+ headers = {
201
+ 'user_agent' => "DomoscioRails V2 RubyBindings/#{DomoscioRails::VERSION}",
202
+ 'AccessToken' => "#{auth_token[:access_token]}",
203
+ 'RefreshToken' => "#{auth_token[:refresh_token]}",
204
+ 'Content-Type' => 'application/json'
205
+ }
206
+ else
207
+ headers = {
208
+ 'user_agent' => "DomoscioRails V2 RubyBindings/#{DomoscioRails::VERSION}",
209
+ 'Authorization' => "Token token=#{DomoscioRails.configuration.client_passphrase}",#"#{auth_token['token_type']} #{auth_token['access_token']}",
210
+ 'Content-Type' => 'application/json'
211
+ }
212
+ end
213
+ headers['VizToken'] = client_identifier if !client_identifier.nil?
214
+
215
+ headers
216
+
158
217
  end
159
-
160
-
218
+
219
+
161
220
  end
File without changes
@@ -0,0 +1,6 @@
1
+ module DomoscioRails
2
+ # An objective knowledge node.
3
+ class ObjectiveKnowledgeNode < Resource
4
+ include DomoscioRails::HTTPCalls::Fetch
5
+ end
6
+ end
@@ -0,0 +1,7 @@
1
+ module DomoscioRails
2
+ # An objective knowledge node student.
3
+ class ObjectiveKnowledgeNodeStudent < Resource
4
+ include DomoscioRails::HTTPCalls::Fetch
5
+ include DomoscioRails::HTTPCalls::Update
6
+ end
7
+ end
@@ -5,5 +5,6 @@ module DomoscioRails
5
5
  include DomoscioRails::HTTPCalls::Fetch
6
6
  include DomoscioRails::HTTPCalls::Update
7
7
  include DomoscioRails::HTTPCalls::Destroy
8
+ include DomoscioRails::HTTPCalls::Util
8
9
  end
9
- end
10
+ end
File without changes
@@ -5,7 +5,7 @@ module DomoscioRails
5
5
 
6
6
  class << self
7
7
  def storage
8
- @@storage ||= StaticStorage.new
8
+ @@storage ||= FileStorage.new
9
9
  end
10
10
 
11
11
  def storage= (storage)
@@ -13,17 +13,8 @@ module DomoscioRails
13
13
  end
14
14
 
15
15
  def get_token
16
- # token = storage.get
17
- # if token.nil? || token['timestamp'].nil? || token['timestamp'] <= Time.now
18
- # token = DomoscioRails.request(:post, '/api/oauth/token', {}, {}, {}, Proc.new do |req|
19
- # cfg = DomoscioRails.configuration
20
- # req.basic_auth cfg.client_id, cfg.client_passphrase
21
- # req.body = 'grant_type=client_credentials'
22
- # end)
23
- # token['timestamp'] = Time.now + token['expires_in'].to_i
24
- # storage.store token
25
- # end
26
- token = DomoscioRails.configuration.client_passphrase
16
+ token = storage.get
17
+ token = DomoscioRails.configuration.client_passphrase if token.nil?
27
18
  token
28
19
  end
29
20
  end
@@ -72,6 +63,7 @@ module DomoscioRails
72
63
  end
73
64
 
74
65
  def file_path
66
+ @temp_dir = DomoscioRails.configuration.temp_dir if @temp_dir != DomoscioRails.configuration.temp_dir
75
67
  File.join(@temp_dir, "DomoscioRails.AuthorizationToken.FileStore.tmp")
76
68
  end
77
69
  end
File without changes
File without changes
@@ -0,0 +1,10 @@
1
+ module DomoscioRails
2
+ # A LearningSession is basicly a group of events.
3
+ class LearningSession < Resource
4
+
5
+ include DomoscioRails::HTTPCalls::Create
6
+ include DomoscioRails::HTTPCalls::Fetch
7
+ include DomoscioRails::HTTPCalls::Destroy
8
+
9
+ end
10
+ end
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  module DomoscioRails
2
2
  module HTTPCalls
3
-
3
+
4
4
  module Create
5
5
  module ClassMethods
6
6
  def create(*id, params)
@@ -25,7 +25,7 @@ module DomoscioRails
25
25
  base.extend(ClassMethods)
26
26
  end
27
27
  end
28
-
28
+
29
29
  module UpdateSelf
30
30
  module ClassMethods
31
31
  def update_self(params = {})
@@ -54,7 +54,7 @@ module DomoscioRails
54
54
  id_or_filters.is_a?(Hash) ? [nil, id_or_filters] : [id_or_filters, {}]
55
55
  end
56
56
  end
57
-
57
+
58
58
  module Destroy
59
59
  module ClassMethods
60
60
  def destroy(id = nil, params = {})
@@ -64,21 +64,24 @@ module DomoscioRails
64
64
 
65
65
  def self.included(base)
66
66
  base.extend(ClassMethods)
67
- end
67
+ end
68
68
  end
69
-
69
+
70
70
  module Util
71
71
  module ClassMethods
72
72
  def util(id = nil, util_name = nil, params = {})
73
73
  DomoscioRails.request(:get, url(id, util_name), params)
74
74
  end
75
+ def util_post(id = nil, util_name = nil, params = {})
76
+ DomoscioRails.request(:post, url(id, util_name), params)
77
+ end
75
78
  end
76
79
 
77
80
  def self.included(base)
78
81
  base.extend(ClassMethods)
79
- end
82
+ end
80
83
  end
81
-
82
-
84
+
85
+
83
86
  end
84
- end
87
+ end
File without changes
@@ -0,0 +1,6 @@
1
+ module DomoscioRails
2
+ # A delta object.
3
+ class DeltaObject < Resource
4
+ include DomoscioRails::HTTPCalls::Fetch
5
+ end
6
+ end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,9 +1,6 @@
1
1
  module DomoscioRails
2
- # A company.
2
+ # A student cluster.
3
3
  class StudentCluster < Resource
4
- include DomoscioRails::HTTPCalls::Create
5
4
  include DomoscioRails::HTTPCalls::Fetch
6
- include DomoscioRails::HTTPCalls::Update
7
- include DomoscioRails::HTTPCalls::Destroy
8
5
  end
9
6
  end
@@ -0,0 +1,6 @@
1
+ module DomoscioRails
2
+ # A company.
3
+ class AlertsUtil < Resource
4
+ include DomoscioRails::HTTPCalls::Util
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module DomoscioRails
2
+ # A company.
3
+ class GameplayUtil < Resource
4
+ include DomoscioRails::HTTPCalls::Util
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module DomoscioRails
2
+ # A company.
3
+ class RecommendationUtil < Resource
4
+ include DomoscioRails::HTTPCalls::Util
5
+ end
6
+ end
File without changes
@@ -1,3 +1,3 @@
1
1
  module DomoscioRails
2
- VERSION = "0.2.9"
2
+ VERSION = "0.2.23"
3
3
  end
File without changes
metadata CHANGED
@@ -1,51 +1,57 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: domoscio_rails
3
- version: !ruby/object:Gem::Version
4
- version: 0.2.9
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.23
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Benoit Praly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2017-01-10 00:00:00 +01:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
11
+ date: 2020-09-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
16
14
  name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
17
20
  type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
21
24
  - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "3.2"
24
- version:
25
- description: Description of DomoscioRails.
26
- email:
25
+ - !ruby/object:Gem::Version
26
+ version: '3.2'
27
+ description: Ruby client to interact with Domoscio API.
28
+ email:
27
29
  - benoit.praly@domoscio.com
28
30
  executables: []
29
-
30
31
  extensions: []
31
-
32
32
  extra_rdoc_files: []
33
-
34
- files:
33
+ files:
34
+ - MIT-LICENSE
35
+ - README.rdoc
36
+ - Rakefile
37
+ - lib/domoscio_rails.rb
38
+ - lib/domoscio_rails.tbz
35
39
  - lib/domoscio_rails/adaptative/deterministic/path_rule.rb
36
40
  - lib/domoscio_rails/adaptative/deterministic/rule_condition.rb
37
41
  - lib/domoscio_rails/adaptative/deterministic/rule_input.rb
38
42
  - lib/domoscio_rails/adaptative/deterministic/rule_output.rb
39
43
  - lib/domoscio_rails/adaptative/predictive/objective.rb
44
+ - lib/domoscio_rails/adaptative/predictive/objective_knowledge_node.rb
45
+ - lib/domoscio_rails/adaptative/predictive/objective_knowledge_node_student.rb
40
46
  - lib/domoscio_rails/adaptative/predictive/objective_student.rb
41
47
  - lib/domoscio_rails/adaptative/recommendation.rb
42
48
  - lib/domoscio_rails/admin/instance.rb
43
- - lib/domoscio_rails/admin/user.rb
44
49
  - lib/domoscio_rails/authorization_token.rb
45
50
  - lib/domoscio_rails/content/content.rb
46
51
  - lib/domoscio_rails/content/knowledge_node_content.rb
47
52
  - lib/domoscio_rails/data/event.rb
48
53
  - lib/domoscio_rails/data/knowledge_node_student.rb
54
+ - lib/domoscio_rails/data/learning_session.rb
49
55
  - lib/domoscio_rails/data/result.rb
50
56
  - lib/domoscio_rails/errors.rb
51
57
  - lib/domoscio_rails/http_calls.rb
@@ -53,6 +59,7 @@ files:
53
59
  - lib/domoscio_rails/knowledge/knowledge_edge.rb
54
60
  - lib/domoscio_rails/knowledge/knowledge_graph.rb
55
61
  - lib/domoscio_rails/knowledge/knowledge_node.rb
62
+ - lib/domoscio_rails/metadata/delta_object.rb
56
63
  - lib/domoscio_rails/metadata/tag.rb
57
64
  - lib/domoscio_rails/metadata/tag_edge.rb
58
65
  - lib/domoscio_rails/metadata/tag_set.rb
@@ -61,41 +68,33 @@ files:
61
68
  - lib/domoscio_rails/resource.rb
62
69
  - lib/domoscio_rails/student/student.rb
63
70
  - lib/domoscio_rails/student/student_cluster.rb
71
+ - lib/domoscio_rails/utils/alerts_util.rb
72
+ - lib/domoscio_rails/utils/gameplay_util.rb
73
+ - lib/domoscio_rails/utils/recommendation_util.rb
64
74
  - lib/domoscio_rails/utils/review_util.rb
65
75
  - lib/domoscio_rails/version.rb
66
- - lib/domoscio_rails.rb
67
- - lib/domoscio_rails.tbz
68
76
  - lib/tasks/domoscio_rails_tasks.rake
69
- - MIT-LICENSE
70
- - Rakefile
71
- - README.rdoc
72
- has_rdoc: true
73
77
  homepage: http://www.domoscio.com
74
- licenses:
78
+ licenses:
75
79
  - MIT
80
+ metadata: {}
76
81
  post_install_message:
77
82
  rdoc_options: []
78
-
79
- require_paths:
83
+ require_paths:
80
84
  - lib
81
- required_ruby_version: !ruby/object:Gem::Requirement
82
- requirements:
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
83
87
  - - ">="
84
- - !ruby/object:Gem::Version
85
- version: "0"
86
- version:
87
- required_rubygems_version: !ruby/object:Gem::Requirement
88
- requirements:
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
89
92
  - - ">="
90
- - !ruby/object:Gem::Version
91
- version: "0"
92
- version:
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
93
95
  requirements: []
94
-
95
- rubyforge_project:
96
- rubygems_version: 1.3.5
96
+ rubygems_version: 3.0.8
97
97
  signing_key:
98
- specification_version: 3
98
+ specification_version: 4
99
99
  summary: Summary of DomoscioRails.
100
100
  test_files: []
101
-
@@ -1,10 +0,0 @@
1
- module DomoscioRails
2
- # A user of the API.
3
- class User < Resource
4
-
5
- include DomoscioRails::HTTPCalls::Create
6
- include DomoscioRails::HTTPCalls::Fetch
7
- include DomoscioRails::HTTPCalls::Update
8
-
9
- end
10
- end