megam_api 1.10.6 → 1.10.7
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 +4 -4
- data/lib/megam/api/accounts.rb +1 -1
- data/lib/megam/api/version.rb +1 -1
- data/lib/megam/core/account.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b9daa0ffd474d2cb73d11336f48f1bdd6fb7bf8
|
|
4
|
+
data.tar.gz: 8d44c5948aa53342744f25fc515b123da77e5ea9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1bf098cde434ee2d0d7ba37786444ec33b2b00340e24a6bedc5b92fe9a1961beb2af92d32907b288d4ecdd5c3196f03c64dfbc8b0d2051339d1cccfbe1630c34
|
|
7
|
+
data.tar.gz: f296c0d355dd6dcf65bd55dada2c96fffe1111484ceac28ce20f74e9183ed6e9f47b3e8a069859f1cbd77e24e77348ffcefa83efadabb2871c11b79260a7f3f6
|
data/lib/megam/api/accounts.rb
CHANGED
data/lib/megam/api/version.rb
CHANGED
data/lib/megam/core/account.rb
CHANGED
|
@@ -12,13 +12,14 @@ module Megam
|
|
|
12
12
|
attr_accessor :suspend
|
|
13
13
|
attr_accessor :registration_ip_address
|
|
14
14
|
attr_accessor :dates
|
|
15
|
-
attr_accessor :json_claz, :code, :msg_type, :msg, :links, :more
|
|
15
|
+
attr_accessor :json_claz, :code, :msg_type, :msg, :links, :more, :user_email
|
|
16
16
|
attr_accessor :some_msg
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
def initialize(o={})
|
|
20
20
|
@id = nil
|
|
21
21
|
@email = nil
|
|
22
|
+
@user_email = nil
|
|
22
23
|
@api_key = nil
|
|
23
24
|
@name = {}
|
|
24
25
|
@phone = {}
|
|
@@ -112,6 +113,7 @@ module Megam
|
|
|
112
113
|
def from_hash(o)
|
|
113
114
|
@id = o[:id] if o.key?(:id)
|
|
114
115
|
@email = o[:email] if o.key?(:email)
|
|
116
|
+
@user_email = o[:user_email] if o.key?(:user_email)
|
|
115
117
|
@api_key = o[:api_key] if o.key?(:api_key)
|
|
116
118
|
|
|
117
119
|
@name[:first_name] = o[:first_name] if o.key?(:first_name)
|
|
@@ -226,6 +228,7 @@ module Megam
|
|
|
226
228
|
h['json_claz'] = self.class.name
|
|
227
229
|
h['id'] = @id
|
|
228
230
|
h['email'] = @email
|
|
231
|
+
h['user_email'] = @user_email
|
|
229
232
|
h['api_key'] = @api_key
|
|
230
233
|
h['name'] = @name
|
|
231
234
|
h['phone'] = @phone
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: megam_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.10.
|
|
4
|
+
version: 1.10.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rajthilak, Kishorekumar Neelamegam, Ranjitha R, Vinodhini V, Rathish VBR, Rajesh
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-01-
|
|
12
|
+
date: 2017-01-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: excon
|