megam_api 1.5.6 → 1.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9236e510b959dbb6435f5e138feba7cffa2f4c5d
4
- data.tar.gz: 4eff4047d9a5d72f4031d529e44ac247b03a7d3c
3
+ metadata.gz: 5a5f4aeeaa22885097ab5b3b9c200eed02282075
4
+ data.tar.gz: 0259bfffe148387c190a699b1f181182658b8912
5
5
  SHA512:
6
- metadata.gz: 786518abd4685b0cfa9dd19725d15a4167efa02d5bd45b9a65cc58e0ed0915d5c2b9a0f1d9f5461b1ec6d9eae970b4cd949d971f71a1de2d189500e0412b0b4e
7
- data.tar.gz: 5af08775fdf20fc7f2f126e02e5a78add35b6edcf7c8dcc269546d9260e04259b62eb1df1883d4356f86c93ef6733201437f820a464040090bf0004a52973ced
6
+ metadata.gz: d92b6c89813fe69f370c47e646e638f97c0dd1e7c54bffdd0104d257028013067bff3dea18825271726b27cb11d88e362959f23ca4dcb38c96e08eac8372d0d7
7
+ data.tar.gz: 66e68c00851aecb2c95905f423e11bdd2b8cd09689e0b0595ae3c357807fa5a31026a13fd1b37abcf441f137ed0a77254f7780c084b340b39a64c5b6e35740a6
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "1.5.6"
3
+ VERSION = "1.5.7"
4
4
  end
5
5
  end
@@ -139,8 +139,8 @@ module Megam
139
139
  self
140
140
  end
141
141
 
142
- def self.create(o,tmp_email=nil, tmp_api_key=nil, tmp_host=nil)
143
- acct = from_hash(o,tmp_email, tmp_api_key, tmp_host)
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(p_name,tmp_email=nil, tmp_api_key=nil, tmp_host=nil)
159
- pre = self.new(tmp_email,tmp_api_key, tmp_host)
160
- pre.megam_rest.get_addon(p_name)
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.6
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-09 00:00:00.000000000 Z
12
+ date: 2016-08-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: excon