megam_api 0.7.8 → 0.7.9

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: 6172ca6dcb996dd9f594003d8b07c2b4336aa53c
4
- data.tar.gz: aa3b2084117a559559a46e8f251f1be7fb391677
3
+ metadata.gz: 770ab35153e2d560927412af49b8394e6558f46f
4
+ data.tar.gz: d56bc2b84f1d9bfe2aaa14f0486fa6751c7854d3
5
5
  SHA512:
6
- metadata.gz: 6d68d890d9a9b4ffbcb35fe45ab3554e95fc4512b6a5e32dc229a7729db563368102531df3895d0b781c5e8a3717744c03f31e2156f5e2907573c2d08397c4d7
7
- data.tar.gz: c45bd88b0bdba1933bab2ed46a121e359746e2dc38fedf85148491c3f0a9d13a5150548a1af301b48be996a0af8cfdd83602eba2f0a3c47f7ae9e832bbd1964b
6
+ metadata.gz: 9b78257ac885ba2190f3fb2e461b7bd144d8a16e62c1198f195ae74f7ff333bbdf2615c5b5c5af94983745c7465a4526ec2b5952d6eaf1dd629c77d51d16ea6b
7
+ data.tar.gz: eda1bbd9afed71d9e3b2f86d22e6fc5dc468e846bef41bebdd88c80c4216ae9b4ad0796970b3ada412bf5014cef7398df33afa045c2682632b0b16909c4db4bb
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "0.7.8"
3
+ VERSION = "0.7.9"
4
4
  end
5
5
  end
@@ -21,7 +21,7 @@ module Megam
21
21
  end
22
22
 
23
23
 
24
- def self.create(data, group, action, tmp_email, tmp_api_key)
24
+ def self.create(data, group, action, tmp_email=nil, tmp_api_key=nil)
25
25
  delete_command = self.new(tmp_email, tmp_api_key)
26
26
  begin
27
27
  node_collection = delete_command.megam_rest.get_node(data[:node_name])
@@ -22,7 +22,7 @@ module Megam
22
22
 
23
23
 
24
24
 
25
- def self.create(data, group, action,tmp_email, tmp_api_key)
25
+ def self.create(data, group, action,tmp_email=nil, tmp_api_key=nil)
26
26
  make_command = self.new(tmp_email, tmp_api_key)
27
27
  begin
28
28
  pc_collection = make_command.megam_rest.get_predefclouds
@@ -150,7 +150,7 @@ module Megam
150
150
  # Load a account by email_p
151
151
  def self.show(email,api_key=nil)
152
152
  acct = self.new(email, api_key)
153
- megam_rest.get_accounts(email)
153
+ acct.megam_rest.get_accounts(email)
154
154
  end
155
155
 
156
156
  # Create the node via the REST API
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: megam_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.8
4
+ version: 0.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kishorekumar Neelamegam, Thomas Alrin, Subash Sethurajan, Rajthilak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-16 00:00:00.000000000 Z
11
+ date: 2014-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon