class Ayadn::App
Public Instance Methods
auto()
click to toggle source
# File lib/ayadn/app.rb, line 544 def auto Action.new.auto(options) end
block(*username)
click to toggle source
# File lib/ayadn/app.rb, line 435 def block(*username) Action.new.block(username) end
blocked()
click to toggle source
# File lib/ayadn/app.rb, line 262 def blocked Action.new.blocked(options) end
channels()
click to toggle source
# File lib/ayadn/app.rb, line 448 def channels Action.new.channels(options) end
checkins()
click to toggle source
# File lib/ayadn/app.rb, line 55 def checkins Action.new.checkins(options) end
conversations()
click to toggle source
# File lib/ayadn/app.rb, line 111 def conversations Action.new.conversations(options) end
convo(post_id)
click to toggle source
# File lib/ayadn/app.rb, line 200 def convo(post_id) Action.new.convo(post_id, options) end
delete(*post_id)
click to toggle source
# File lib/ayadn/app.rb, line 354 def delete(*post_id) Action.new.delete(post_id, options) end
delete_m(*args)
click to toggle source
# File lib/ayadn/app.rb, line 361 def delete_m(*args) Action.new.delete_m(args) end
download(file_id)
click to toggle source
# File lib/ayadn/app.rb, line 565 def download(file_id) ayadn = Action.new ayadn.download(file_id) end
files()
click to toggle source
# File lib/ayadn/app.rb, line 346 def files Action.new.files(options) end
follow(*username)
click to toggle source
# File lib/ayadn/app.rb, line 421 def follow(*username) Action.new.follow(username) end
followers(*username)
click to toggle source
# File lib/ayadn/app.rb, line 232 def followers(*username) Action.new.followers(username, options) end
followings(*username)
click to toggle source
# File lib/ayadn/app.rb, line 217 def followings(*username) Action.new.followings(username, options) end
global()
click to toggle source
# File lib/ayadn/app.rb, line 69 def global Action.new.global(options) end
hashtag(hashtag)
click to toggle source
# File lib/ayadn/app.rb, line 273 def hashtag(hashtag) require_relative("search") Action.new.hashtag(hashtag, options) end
interactions()
click to toggle source
# File lib/ayadn/app.rb, line 148 def interactions Action.new.interactions(options) end
mentions(*username)
click to toggle source
The method parameter is the CLI argument Here it has a star meaning it will always be an array
# File lib/ayadn/app.rb, line 126 def mentions(*username) Action.new.mentions(username, options) end
messages(channel_id)
click to toggle source
# File lib/ayadn/app.rb, line 461 def messages(channel_id) Action.new.messages(channel_id, options) end
messages_unread()
click to toggle source
# File lib/ayadn/app.rb, line 470 def messages_unread Action.new.messages_unread(options) end
mute(*username)
click to toggle source
# File lib/ayadn/app.rb, line 428 def mute(*username) Action.new.mute(username) end
muted()
click to toggle source
# File lib/ayadn/app.rb, line 247 def muted Action.new.muted(options) end
nowplaying()
click to toggle source
# File lib/ayadn/app.rb, line 585 def nowplaying require_relative("nowplaying") Action.new.nowplaying(options) end
photos()
click to toggle source
# File lib/ayadn/app.rb, line 97 def photos Action.new.photos(options) end
pin(post_id, *tags)
click to toggle source
# File lib/ayadn/app.rb, line 477 def pin(post_id, *tags) require_relative("pinboard") Action.new.pin(post_id, tags, options) end
pm(*username)
click to toggle source
# File lib/ayadn/app.rb, line 512 def pm(*username) Action.new.pmess(username, options) end
post(*args)
click to toggle source
# File lib/ayadn/app.rb, line 489 def post(*args) Action.new.post(args, options) end
postinfo(post_id)
click to toggle source
# File lib/ayadn/app.rb, line 336 def postinfo(post_id) Action.new.postinfo(post_id, options) end
random()
click to toggle source
# File lib/ayadn/app.rb, line 595 def random Action.new.random_posts(options) end
reply(id)
click to toggle source
# File lib/ayadn/app.rb, line 537 def reply(id) ayadn = Action.new ayadn.reply(id, options) end
repost(*post_id)
click to toggle source
# File lib/ayadn/app.rb, line 414 def repost(*post_id) Action.new.repost(post_id, options) end
search(*words)
click to toggle source
# File lib/ayadn/app.rb, line 291 def search(*words) require_relative("search") Action.new.search(words.join(","), options) end
send_to_channel(channel_id)
click to toggle source
# File lib/ayadn/app.rb, line 524 def send_to_channel(channel_id) Action.new.send_to_channel(channel_id, options) end
settings()
click to toggle source
# File lib/ayadn/app.rb, line 301 def settings Action.new.view_settings(options) end
star(*post_id)
click to toggle source
# File lib/ayadn/app.rb, line 406 def star(*post_id) Action.new.star(post_id, options) end
switch(*username)
click to toggle source
# File lib/ayadn/app.rb, line 627 def switch(*username) require_relative("switch") unless options[:list] Switch.new.switch(username) else Switch.new.list end end
timeline()
click to toggle source
# File lib/ayadn/app.rb, line 40 def timeline # "options" (the CLI arguments) is a hash automatically generated by Thor Action.new.unified(options) end
trending()
click to toggle source
# File lib/ayadn/app.rb, line 83 def trending Action.new.trending(options) end
unblock(*username)
click to toggle source
# File lib/ayadn/app.rb, line 382 def unblock(*username) Action.new.unblock(username) end
unfollow(*username)
click to toggle source
# File lib/ayadn/app.rb, line 368 def unfollow(*username) Action.new.unfollow(username) end
unmute(*username)
click to toggle source
# File lib/ayadn/app.rb, line 375 def unmute(*username) Action.new.unmute(username) end
unrepost(*post_id)
click to toggle source
# File lib/ayadn/app.rb, line 390 def unrepost(*post_id) Action.new.unrepost(post_id, options) end
unstar(*post_id)
click to toggle source
# File lib/ayadn/app.rb, line 398 def unstar(*post_id) Action.new.unstar(post_id, options) end
userinfo(*username)
click to toggle source
# File lib/ayadn/app.rb, line 310 def userinfo(*username) Action.new.userinfo(username, options) end
userposts(*username)
click to toggle source
# File lib/ayadn/app.rb, line 139 def userposts(*username) Action.new.posts(username, options) end
userupdate()
click to toggle source
# File lib/ayadn/app.rb, line 325 def userupdate require_relative("profile") Action.new.userupdate(options) end
version()
click to toggle source
# File lib/ayadn/app.rb, line 638 def version Status.new.version end
whatstarred(*username)
click to toggle source
# File lib/ayadn/app.rb, line 162 def whatstarred(*username) Action.new.whatstarred(username, options) end
whoreposted(post_id)
click to toggle source
The argument has no star, it will be a string (by default)
# File lib/ayadn/app.rb, line 175 def whoreposted(post_id) Action.new.whoreposted(post_id, options) end
whostarred(post_id)
click to toggle source
# File lib/ayadn/app.rb, line 187 def whostarred(post_id) Action.new.whostarred(post_id, options) end
write()
click to toggle source
# File lib/ayadn/app.rb, line 501 def write Action.new.write(options) end