Class: Nokaya::App
- Inherits:
-
Thor
- Object
- Thor
- Nokaya::App
- Defined in:
- lib/nokaya/app.rb
Instance Method Summary collapse
- #adn(*args) ⇒ Object
- #appstore(*args) ⇒ Object
- #deviantart(*args) ⇒ Object
- #favd(*args) ⇒ Object
- #flickr_album(*args) ⇒ Object
- #imageshack_user(*args) ⇒ Object
- #imgur_album(*args) ⇒ Object
- #instagram(*args) ⇒ Object
- #movie(*args) ⇒ Object
- #music(*args) ⇒ Object
- #photonet(*args) ⇒ Object
- #tumblr(*args) ⇒ Object
- #tumblr_album(*args) ⇒ Object
- #version ⇒ Object
Instance Method Details
#adn(*args) ⇒ Object
68 69 70 71 72 73 |
# File 'lib/nokaya/app.rb', line 68 def adn *args puts Status.wait image = ADN.new(args, ) image.save puts Status.saved(image) end |
#appstore(*args) ⇒ Object
26 27 28 29 30 31 |
# File 'lib/nokaya/app.rb', line 26 def appstore *args puts Status.wait image = AppStore.new(args, ) image.save puts Status.saved_album(image) end |
#deviantart(*args) ⇒ Object
129 130 131 132 133 134 |
# File 'lib/nokaya/app.rb', line 129 def deviantart *args puts Status.wait image = Deviantart.new(args, ) image.save puts Status.saved_album(image) end |
#favd(*args) ⇒ Object
58 59 60 61 62 63 |
# File 'lib/nokaya/app.rb', line 58 def favd *args puts Status.wait image = Favd.new(args, ) image.save puts Status.saved(image) end |
#flickr_album(*args) ⇒ Object
109 110 111 112 113 114 |
# File 'lib/nokaya/app.rb', line 109 def flickr_album *args puts Status.wait image = FlickrAlbum.new(args, ) image.save puts Status.saved_album(image) end |
#imageshack_user(*args) ⇒ Object
139 140 141 142 143 144 |
# File 'lib/nokaya/app.rb', line 139 def imageshack_user *args puts Status.wait image = ImageshackUser.new(args, ) image.save puts Status.saved_album(image) end |
#imgur_album(*args) ⇒ Object
99 100 101 102 103 104 |
# File 'lib/nokaya/app.rb', line 99 def imgur_album *args puts Status.wait image = ImgurAlbum.new(args, ) image.save puts Status.saved_album(image) end |
#instagram(*args) ⇒ Object
48 49 50 51 52 53 |
# File 'lib/nokaya/app.rb', line 48 def instagram *args puts Status.wait image = Instagram.new(args, ) image.save puts Status.saved(image) end |
#movie(*args) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/nokaya/app.rb', line 15 def movie *args puts Status.wait image = Movie.new(args, ) image.save puts Status.saved(image) end |
#music(*args) ⇒ Object
37 38 39 40 41 42 |
# File 'lib/nokaya/app.rb', line 37 def music *args puts Status.wait image = MusicStore.new(args, ) image.save puts Status.saved_album(image) end |
#photonet(*args) ⇒ Object
119 120 121 122 123 124 |
# File 'lib/nokaya/app.rb', line 119 def photonet *args puts Status.wait image = Photonet.new(args, ) image.save puts Status.saved_album(image) end |
#tumblr(*args) ⇒ Object
79 80 81 82 83 84 |
# File 'lib/nokaya/app.rb', line 79 def tumblr *args puts Status.wait image = Tumblr.new(args, ) image.save puts Status.saved(image) end |
#tumblr_album(*args) ⇒ Object
89 90 91 92 93 94 |
# File 'lib/nokaya/app.rb', line 89 def tumblr_album *args puts Status.wait image = TumblrAlbum.new(args, ) image.save puts Status.saved_album(image) end |
#version ⇒ Object
148 149 150 151 152 153 |
# File 'lib/nokaya/app.rb', line 148 def version puts "\nNOKAYA\n\n" puts "Version:\t#{VERSION}\n\n" puts "Changelog:\thttps://github.com/ericdke/nokaya/blob/master/CHANGELOG.md\n" puts "Help:\t\thttps://github.com/ericdke/nokaya/blob/master/README.md\n\n" end |