moesif_api 1.2.9 → 1.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/moesif_api/configuration.rb +1 -1
- data/lib/moesif_api/models/event_model.rb +11 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e43981a5b44ddf9cbc3b2226ebd30a418210bccc073c6a01267f9ce230a2922d
|
4
|
+
data.tar.gz: c57f5863e79923cbb9d63b857016686284d410dfe700f8dfc8d08e0e22caf8bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 840305f5334181f9d6e0ac53539d014f71e7a27fe4e5af65da326595064965ca9c6d31c0cd85a2c2c6cb1c7c508af84b75d462dd603d71f7378e46c67010a14a
|
7
|
+
data.tar.gz: 003be8e28d2b6b4b251523550e8d164309876caa46cedf513ea1b781edb8d14c2ae4c38982b6a7c0bdc957dc1be107de09215d87611e03e4a3e12659daade576
|
@@ -30,6 +30,10 @@ module MoesifApi
|
|
30
30
|
# @return [Hash]
|
31
31
|
attr_accessor :metadata
|
32
32
|
|
33
|
+
# direction string
|
34
|
+
# @return [String]
|
35
|
+
attr_accessor :direction
|
36
|
+
|
33
37
|
# A mapping from model property names to API property names
|
34
38
|
def self.names
|
35
39
|
if @hash.nil?
|
@@ -41,6 +45,7 @@ module MoesifApi
|
|
41
45
|
@hash["user_id"] = "user_id"
|
42
46
|
@hash["company_id"] = "company_id"
|
43
47
|
@hash["metadata"] = "metadata"
|
48
|
+
@hash["direction"] = "direction"
|
44
49
|
end
|
45
50
|
@hash
|
46
51
|
end
|
@@ -51,7 +56,8 @@ module MoesifApi
|
|
51
56
|
tags = nil,
|
52
57
|
user_id = nil,
|
53
58
|
company_id = nil,
|
54
|
-
metadata = nil
|
59
|
+
metadata = nil,
|
60
|
+
direction = nil)
|
55
61
|
@request = request
|
56
62
|
@response = response
|
57
63
|
@session_token = session_token
|
@@ -59,6 +65,7 @@ module MoesifApi
|
|
59
65
|
@user_id = user_id
|
60
66
|
@company_id = company_id
|
61
67
|
@metadata = metadata
|
68
|
+
@direction = direction
|
62
69
|
end
|
63
70
|
|
64
71
|
# Creates an instance of the object from a hash
|
@@ -74,6 +81,7 @@ module MoesifApi
|
|
74
81
|
user_id = hash["user_id"]
|
75
82
|
company_id = hash["company_id"]
|
76
83
|
metadata = hash["metadata"]
|
84
|
+
direction = hash["direction"]
|
77
85
|
|
78
86
|
# Create object from extracted values
|
79
87
|
EventModel.new(request,
|
@@ -82,7 +90,8 @@ module MoesifApi
|
|
82
90
|
tags,
|
83
91
|
user_id,
|
84
92
|
company_id,
|
85
|
-
metadata
|
93
|
+
metadata,
|
94
|
+
direction)
|
86
95
|
end
|
87
96
|
end
|
88
97
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moesif_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Moesif, Inc
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-12-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test-unit
|