diff options
author | rhenium <re4k@re4k.info> | 2013-05-30 00:54:47 +0900 |
---|---|---|
committer | rhenium <re4k@re4k.info> | 2013-05-30 00:54:47 +0900 |
commit | 75e30f750533af57057fd5a9b7f725218f4be7d0 (patch) | |
tree | 9f6f379530d75aeb12b705edbb00c98d03ac8271 /lib/aclog | |
parent | 8d0657441ad76b23684d13f8790df2a3c0cb84ff (diff) | |
download | aclog-75e30f750533af57057fd5a9b7f725218f4be7d0.tar.gz |
add private account (!= protected Twitter account) feature
Diffstat (limited to 'lib/aclog')
-rw-r--r-- | lib/aclog/exceptions.rb | 1 | ||||
-rw-r--r-- | lib/aclog/receiver/register_server.rb | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/aclog/exceptions.rb b/lib/aclog/exceptions.rb index 4e136a1..befcbde 100644 --- a/lib/aclog/exceptions.rb +++ b/lib/aclog/exceptions.rb @@ -5,6 +5,7 @@ module Aclog class UserProtected < StandardError; end class LoginRequired < StandardError; end class TweetNotFound < StandardError; end + class AccountPrivate < StandardError; end class OAuthEchoUnauthorized < StandardError; end end end diff --git a/lib/aclog/receiver/register_server.rb b/lib/aclog/receiver/register_server.rb index ea097f1..4f8a06c 100644 --- a/lib/aclog/receiver/register_server.rb +++ b/lib/aclog/receiver/register_server.rb @@ -18,6 +18,10 @@ module Aclog end end + def unregister(account_) + account = Marshal.load(account_) + end + def unregister(account) # TODO end |