moesif_api 1.2.9 → 1.2.10

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1f73da8a0a7ab951367a0bdeca1043aa8daaf0d64991967257dd58aa1543bf2
4
- data.tar.gz: d4f70c81fd5f3b6e7a7b8e37663be2f3370fb8064e8de5ecb2e4c7c042713acc
3
+ metadata.gz: e43981a5b44ddf9cbc3b2226ebd30a418210bccc073c6a01267f9ce230a2922d
4
+ data.tar.gz: c57f5863e79923cbb9d63b857016686284d410dfe700f8dfc8d08e0e22caf8bd
5
5
  SHA512:
6
- metadata.gz: b17284c40ccadd2859b73d71af0bfdb71b23bef6b05018ccd210788d2cae0ac06ac00e6b9f1b79c5f35917fc4edf795edd09bbe93e64b4219f73df4f51533a03
7
- data.tar.gz: 02d6c4aaf81b237347104567f8f9c5388ae16416f93523797a650acbe788f5fe266e0e20f9f52650fc38c3a15b2cedf435929c2c64066e10e11ce078b65599fc
6
+ metadata.gz: 840305f5334181f9d6e0ac53539d014f71e7a27fe4e5af65da326595064965ca9c6d31c0cd85a2c2c6cb1c7c508af84b75d462dd603d71f7378e46c67010a14a
7
+ data.tar.gz: 003be8e28d2b6b4b251523550e8d164309876caa46cedf513ea1b781edb8d14c2ae4c38982b6a7c0bdc957dc1be107de09215d87611e03e4a3e12659daade576
@@ -8,7 +8,7 @@ module MoesifApi
8
8
  # Your Application Id for authentication/authorization
9
9
  @application_id = 'SET_ME'
10
10
 
11
- @version = '1.2.9'
11
+ @version = '1.2.10'
12
12
 
13
13
  # create the getters and setters
14
14
  class << self
@@ -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.9
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-11-15 00:00:00.000000000 Z
12
+ date: 2019-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit