socketlab 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/socketlab/socketklab_request.rb +2 -2
- data/lib/socketlab/version.rb +1 -1
- metadata +2 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
module Socketlab
|
2
2
|
class SocketlabRequest
|
3
3
|
attr_accessor :api_user,:api_password,:api_server,:api_version,:query_params,:error
|
4
|
-
attr_accessor :total_count,:total_pages,:count,:items,:timestamp
|
4
|
+
attr_accessor :total_count,:total_pages,:count,:items,:timestamp,:api_response
|
5
5
|
|
6
6
|
def initialize(api_user = nil, api_key = nil,api_server=nil,api_version=nil)
|
7
7
|
@api_user = api_user || Socketlab.api_user
|
@@ -47,7 +47,7 @@ module Socketlab
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
def
|
50
|
+
def success?
|
51
51
|
@api_response.success?
|
52
52
|
end
|
53
53
|
|
data/lib/socketlab/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: socketlab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|