megam_api 0.21 → 0.22

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: a1869e43196cec60b438c743b2ba52602bf7b258
4
- data.tar.gz: 509605a3b5136da6f25d305aa51af4520ea681bc
3
+ metadata.gz: 3467375fa08dc63c609b5eed5d8bfb802909db30
4
+ data.tar.gz: 588347a1fed3837f843a64e091b5003046d9194a
5
5
  SHA512:
6
- metadata.gz: 53f8d5e804b61e63bd9100165b02107248c6e8ab75a61a57e4610ec1405dfe1eaafb202120a505d5e24dc1e384b6a3ad92f953390087bb4c6ae84a397eb49d97
7
- data.tar.gz: d9a4a7b826f29a09ac4264f321c0b527cc49141230d80ea5b403d1e08f5f5154c8c45108c59fa7d753120a591bc8e5cb7eb50b4e19e3865845dafcfe610691c1
6
+ metadata.gz: ac270c67423b416c1dd629ba5d935d9017ff5b1e4bc2874e62d36ced26a20e5af7fa426d0d0f73222f71e5537f561348e75871cadab2732dff69cc6a342a4f60
7
+ data.tar.gz: 641bfcb0720e77772b11732afa8d19711f3e662c1cdf5f584013cfe664c103e18ce1be2eb31f606877d7dcf0f630a56937930eaf4acc95604222a47f0e2b0b8d
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "0.21"
3
+ VERSION = "0.22"
4
4
  end
5
5
  end
@@ -125,7 +125,13 @@ def self.show(email,api_key=nil)
125
125
  org.megam_rest.get_organizations(email)
126
126
  end
127
127
 
128
-
128
+ def self.list(tmp_email=nil, tmp_api_key=nil)
129
+ org = self.new(tmp_email,tmp_api_key)
130
+ org.megam_rest.get_organizations
131
+ end
132
+
133
+
134
+
129
135
  def create
130
136
  megam_rest.post_organizations(to_hash)
131
137
  end
@@ -13,6 +13,8 @@ class TestOrganizations < MiniTest::Unit::TestCase
13
13
  assert_equal(200, response.status)
14
14
  end
15
15
 
16
+ =begin
17
+
16
18
 
17
19
  def test_get_organizations_good
18
20
  response =megams.get_organization(sandbox_name)
@@ -28,5 +30,5 @@ class TestOrganizations < MiniTest::Unit::TestCase
28
30
  response.body.to_s
29
31
  assert_equal(201, response.status)
30
32
  end
31
-
33
+ =end
32
34
  end
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.21'
4
+ version: '0.22'
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-10-24 00:00:00.000000000 Z
11
+ date: 2014-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon