cheetah-renoter 0.0.1 → 0.0.2
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/renoter.rb +8 -0
- metadata +1 -1
data/lib/renoter.rb
CHANGED
|
@@ -23,6 +23,14 @@ class Renoter
|
|
|
23
23
|
false
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
# Logout.
|
|
27
|
+
# Returns true.
|
|
28
|
+
def logout
|
|
29
|
+
@username = nil
|
|
30
|
+
@password = nil
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
|
|
26
34
|
# Retrieves public timeline, the last 20 statuses.
|
|
27
35
|
# Returns JSON-decoded object, which contains statuses or errors.
|
|
28
36
|
def public_timeline()
|