secureshare-ruby 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/secureshare/document.rb +15 -0
- data/secureshare-ruby.gemspec +1 -1
- metadata +2 -2
data/lib/secureshare/document.rb
CHANGED
@@ -3,6 +3,9 @@ module SecureShare
|
|
3
3
|
def initialize json
|
4
4
|
@name = json["name"]
|
5
5
|
@content_url = json["content_url"]
|
6
|
+
@description = json["description"]
|
7
|
+
@updated_at = json["updated_at"]
|
8
|
+
@created_at = json["created_at"]
|
6
9
|
end
|
7
10
|
|
8
11
|
def name
|
@@ -12,5 +15,17 @@ module SecureShare
|
|
12
15
|
def content_url
|
13
16
|
@content_url
|
14
17
|
end
|
18
|
+
|
19
|
+
def description
|
20
|
+
@description
|
21
|
+
end
|
22
|
+
|
23
|
+
def updated_at
|
24
|
+
@updated_at
|
25
|
+
end
|
26
|
+
|
27
|
+
def created_at
|
28
|
+
@created_at
|
29
|
+
end
|
15
30
|
end
|
16
31
|
end
|
data/secureshare-ruby.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "secureshare-ruby"
|
7
|
-
gem.version = "0.0.
|
7
|
+
gem.version = "0.0.4"
|
8
8
|
gem.authors = ["Chris Aitchison"]
|
9
9
|
gem.email = ["chris.aitchison@sodalis.com.au"]
|
10
10
|
gem.description = %q{SecureShare Ruby API}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secureshare-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
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: 2013-02-
|
12
|
+
date: 2013-02-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|