megam_api 0.70 → 0.71

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: f019d82e42dc40c2625b58694fb2caffecc7186c
4
- data.tar.gz: 9e79d4b3ede0ac1b4731f337405420c17a01d4b0
3
+ metadata.gz: 64bfe0cf1c050cdddbbc5d97056a04c628b838b1
4
+ data.tar.gz: 89bfebf0981483a9dbbe56fc0af7d2f98cd14ca0
5
5
  SHA512:
6
- metadata.gz: 92f632aafb6e527ba5b64dc1d14a6f0cc554f98d2e0aeecda8964b1d63b18c0f0f342e00a6f6534f975211204a82209cc7f2015ff67a410492eeffac04e19285
7
- data.tar.gz: d05a6a62227ca20d86915cabb29282bab18bb4ad1ab3905cd441c1c75db2ffc72fe19e0f742c20e544a0f20aa213fc73b6524ca16a6a8160e598d2278f3c9078
6
+ metadata.gz: 49962356b9a6463392bbc1697e68dfb8b512aee472998518a40f55e9416ac823069143965f78049483e1fad9cf649588a70c42cb0c6a32a486a038f142071e23
7
+ data.tar.gz: 826a0b8ac72588fe01869d761bd6c21324758b107ff4dedc5f20f9d1eab6618f6bdc48f355c7095dba83d7e1e58f9c7fc5efe029343fc8bb4dac46a34d54b922
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "0.70"
3
+ VERSION = "0.71"
4
4
  end
5
5
  end
@@ -16,7 +16,7 @@
16
16
  module Megam
17
17
  class Promos < Megam::ServerAPI
18
18
  def initialize(email=nil, api_key=nil, host=nil)
19
- @id = nil
19
+ @id = nil
20
20
  @code = nil
21
21
  @amount = nil
22
22
  @created_at = nil
@@ -60,7 +60,7 @@ module Megam
60
60
  end
61
61
  end
62
62
 
63
-
63
+
64
64
 
65
65
  def some_msg(arg=nil)
66
66
  if arg != nil
@@ -140,7 +140,7 @@ module Megam
140
140
  end
141
141
 
142
142
  def self.list(params)
143
- promos = self.new(params["email"], params["api_key"], params["host"])
143
+ promos = self.new(params["email"], params["api_key"], params["host"])
144
144
  promos.megam_rest.get_promos
145
145
  end
146
146
 
@@ -148,11 +148,11 @@ module Megam
148
148
  # Megam::Promos
149
149
  def self.show(params)
150
150
  puts "[x] Called show"
151
- pre = self.new(params["email"], params["api_key"])
151
+ pre = self.new(params["email"], params["api_key"], params["host"])
152
152
  pre.megam_rest.get_promos(params["code"])
153
153
  end
154
154
 
155
-
155
+
156
156
 
157
157
  def to_s
158
158
  Megam::Stuff.styled_hash(to_hash)
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: '0.70'
4
+ version: '0.71'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajthilak, Kishorekumar Neelamegam, Thomas Alrin, Yeshwanth Kumar, Subash Sethurajan,