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.
- data/lib/grave.rb +32 -0
- 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
|