megam_api 1.10.6 → 1.10.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da53d6f54a414cad8de354c5d039df9973f80e23
4
- data.tar.gz: 5111162149d9b2d7404e52059eb2a52084928332
3
+ metadata.gz: 4b9daa0ffd474d2cb73d11336f48f1bdd6fb7bf8
4
+ data.tar.gz: 8d44c5948aa53342744f25fc515b123da77e5ea9
5
5
  SHA512:
6
- metadata.gz: a1ca83f52cbd03623aeb0fd8ff4c24c8b6b94c2867d99d29526abde36c41648ef5c1c58b0105a847e94712b036080e9bb79e5edbc87d74eea06e114349b8ca4b
7
- data.tar.gz: cd12f837cd9f414044ac1ae45ae15d7266c2a70bec5518626d4e48a930a6d780aa101152bdf561268c11820bb49a2c28c76d9581dd2b408458be4845bca5a27f
6
+ metadata.gz: 1bf098cde434ee2d0d7ba37786444ec33b2b00340e24a6bedc5b92fe9a1961beb2af92d32907b288d4ecdd5c3196f03c64dfbc8b0d2051339d1cccfbe1630c34
7
+ data.tar.gz: f296c0d355dd6dcf65bd55dada2c96fffe1111484ceac28ce20f74e9183ed6e9f47b3e8a069859f1cbd77e24e77348ffcefa83efadabb2871c11b79260a7f3f6
@@ -59,7 +59,7 @@ module Megam
59
59
  end
60
60
 
61
61
  def delete_accounts(delete_account)
62
- @options = {path: "/admin/accounts/#{delete_account["email"]}",
62
+ @options = {path: "/admin/accounts/#{delete_account["user_email"]}",
63
63
  :body => ''}.merge(@options)
64
64
 
65
65
  request(
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "1.10.6"
3
+ VERSION = "1.10.7"
4
4
  end
5
5
  end
@@ -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.6
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-27 00:00:00.000000000 Z
12
+ date: 2017-01-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: excon