grave 1.6.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/grave.rb +32 -0
  2. metadata +1 -1
data/lib/grave.rb CHANGED
@@ -43,5 +43,37 @@ module Grave
43
43
  def location
44
44
  @@json['currentLocation']
45
45
  end
46
+
47
+ def photos
48
+ @@json["photos"]
49
+ end
50
+
51
+ def background
52
+ @@json['profileBackground']
53
+ end
54
+
55
+ def name
56
+ @@json['name']
57
+ end
58
+
59
+ def phones
60
+ @@json['phoneNumbers']
61
+ end
62
+
63
+ def emails
64
+ @@json['emails']
65
+ end
66
+
67
+ def ims
68
+ @@json['ims']
69
+ end
70
+
71
+ def accounts
72
+ @@json['accounts']
73
+ end
74
+
75
+ def urls
76
+ @@json['urls']
77
+ end
46
78
  end
47
79
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grave
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.8.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: