glass_sdk 0.0.1 → 0.0.2

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: f14f8a906470ca6c5ea3c58e3574b88c4c0348f0
4
- data.tar.gz: 62b2dd2f07b1d03e496a527939ad045a3c9eb1d9
3
+ metadata.gz: eee01ec30e9584a7562c596b4a70d334e824ceaa
4
+ data.tar.gz: 69f889ce96893af1d3278afd6a702c885a9cf237
5
5
  SHA512:
6
- metadata.gz: 7e0460b0a781dc57d246e4c52cc6dc6bb63e4570a6d589422167a6c87a7ecd35c3c815afbe16a359febb120c3d7c3fbb33899d83bd44923ca42b9182dd84e340
7
- data.tar.gz: 254b77d888738dbbbcfefe7ad5b81f43e756d429039a9c031814574058734b020b383caedf2c7105a60b4acc3288e0bb93926d363f4236cf71f58d7c1ad8c943
6
+ metadata.gz: ca7ebc4bd61d76c0431c59c5e4fab18edc602bad62d673bd24d8af05a6d3b4b1a84f50416887791b9f59e85a80ba0db773560943c8e6b795428c7745b26f78a6
7
+ data.tar.gz: 6592533d3b8bcc2dcbb6a634709d475e64e430c216b9ff821424b42281736a597f4a98ce74a644d55d2b6f7317d0085cc996e12e7ad36b20f978485024c53eca
@@ -28,10 +28,14 @@ module GlassSdk
28
28
  end
29
29
  end
30
30
 
31
- def get(headers={}, &block)
31
+ def index(headers={}, &block)
32
32
  RestClient.get(request_url, headers, &block)
33
33
  end
34
34
 
35
+ def show(id=nil, headers={}, &block)
36
+ RestClient.get(request_url(id), headers, &block)
37
+ end
38
+
35
39
  def post(payload, headers={}, &block)
36
40
  RestClient.post(request_url, payload, headers, &block)
37
41
  end
@@ -1,3 +1,3 @@
1
1
  module GlassSdk
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glass_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-23 00:00:00.000000000 Z
11
+ date: 2013-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails