cashstar 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cashstar.rb +0 -1
- data/lib/cashstar/entities/merchant.rb +1 -2
- data/lib/cashstar/version.rb +1 -1
- metadata +4 -4
data/lib/cashstar.rb
CHANGED
@@ -13,8 +13,7 @@ module Cashstar
|
|
13
13
|
def self.all()
|
14
14
|
remote_url = self.remote_url + "/merchant/"
|
15
15
|
result = RestClient.get remote_url , headers
|
16
|
-
|
17
|
-
if result.code == "200"
|
16
|
+
if result.code == 200
|
18
17
|
json = JSON.parse result
|
19
18
|
merchants = []
|
20
19
|
json["merchants"]["merchant"].each do |merchant|
|
data/lib/cashstar/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cashstar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Charlie White
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-05-01 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|