megam_api 1.5.6 → 1.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/megam/api/version.rb +1 -1
- data/lib/megam/core/addons.rb +5 -5
- 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: 5a5f4aeeaa22885097ab5b3b9c200eed02282075
|
4
|
+
data.tar.gz: 0259bfffe148387c190a699b1f181182658b8912
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d92b6c89813fe69f370c47e646e638f97c0dd1e7c54bffdd0104d257028013067bff3dea18825271726b27cb11d88e362959f23ca4dcb38c96e08eac8372d0d7
|
7
|
+
data.tar.gz: 66e68c00851aecb2c95905f423e11bdd2b8cd09689e0b0595ae3c357807fa5a31026a13fd1b37abcf441f137ed0a77254f7780c084b340b39a64c5b6e35740a6
|
data/lib/megam/api/version.rb
CHANGED
data/lib/megam/core/addons.rb
CHANGED
@@ -139,8 +139,8 @@ module Megam
|
|
139
139
|
self
|
140
140
|
end
|
141
141
|
|
142
|
-
def self.create(
|
143
|
-
acct = from_hash(
|
142
|
+
def self.create(params)
|
143
|
+
acct = from_hash(params)
|
144
144
|
acct.create
|
145
145
|
end
|
146
146
|
|
@@ -155,9 +155,9 @@ module Megam
|
|
155
155
|
|
156
156
|
# Show a particular addon by provider_name,
|
157
157
|
# Megam::Addon
|
158
|
-
def self.show(
|
159
|
-
pre = self.new(
|
160
|
-
pre.megam_rest.get_addon(
|
158
|
+
def self.show(params)
|
159
|
+
pre = self.new(params)
|
160
|
+
pre.megam_rest.get_addon(params["provider"])
|
161
161
|
end
|
162
162
|
|
163
163
|
|
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.5.
|
4
|
+
version: 1.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajthilak, Kishorekumar Neelamegam, Ranjitha R, Rajesh Rajagopalan, Thomas Alrin,
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-08-
|
12
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: excon
|