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
- #tvshow(*args) ⇒ Object
- #version ⇒ Object
Instance Method Details
#adn(*args) ⇒ Object
83 84 85 86 87 88 |
# File 'lib/nokaya/app.rb', line 83 def adn *args puts Status.wait if ['verbose'] image = ADN.new(args, ) image.save puts Status.saved(image) if ['verbose'] end |
#appstore(*args) ⇒ Object
39 40 41 42 43 44 |
# File 'lib/nokaya/app.rb', line 39 def appstore *args puts Status.wait if ['verbose'] image = AppStore.new(args, ) image.save puts Status.saved_album(image) if ['verbose'] end |
#deviantart(*args) ⇒ Object
144 145 146 147 148 149 |
# File 'lib/nokaya/app.rb', line 144 def deviantart *args puts Status.wait if ['verbose'] image = Deviantart.new(args, ) image.save puts Status.saved_album(image) if ['verbose'] end |
#favd(*args) ⇒ Object
72 73 74 75 76 77 |
# File 'lib/nokaya/app.rb', line 72 def favd *args puts Status.wait if ['verbose'] image = Favd.new(args, ) image.save puts Status.saved(image) if ['verbose'] end |
#flickr_album(*args) ⇒ Object
124 125 126 127 128 129 |
# File 'lib/nokaya/app.rb', line 124 def flickr_album *args puts Status.wait if ['verbose'] image = FlickrAlbum.new(args, ) image.save puts Status.saved_album(image) if ['verbose'] end |
#imageshack_user(*args) ⇒ Object
154 155 156 157 158 159 |
# File 'lib/nokaya/app.rb', line 154 def imageshack_user *args puts Status.wait if ['verbose'] image = ImageshackUser.new(args, ) image.save puts Status.saved_album(image) if ['verbose'] end |
#imgur_album(*args) ⇒ Object
114 115 116 117 118 119 |
# File 'lib/nokaya/app.rb', line 114 def imgur_album *args puts Status.wait if ['verbose'] image = ImgurAlbum.new(args, ) image.save puts Status.saved_album(image) if ['verbose'] end |
#instagram(*args) ⇒ Object
61 62 63 64 65 66 |
# File 'lib/nokaya/app.rb', line 61 def instagram *args puts Status.wait if ['verbose'] image = Instagram.new(args, ) image.save puts Status.saved(image) if ['verbose'] end |
#movie(*args) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/nokaya/app.rb', line 17 def movie *args puts Status.wait_api if ['verbose'] image = Movie.new(args, ) image.save puts Status.saved(image) if ['verbose'] end |
#music(*args) ⇒ Object
50 51 52 53 54 55 |
# File 'lib/nokaya/app.rb', line 50 def music *args puts Status.wait if ['verbose'] image = MusicStore.new(args, ) image.save puts Status.saved_album(image) if ['verbose'] end |
#photonet(*args) ⇒ Object
134 135 136 137 138 139 |
# File 'lib/nokaya/app.rb', line 134 def photonet *args puts Status.wait if ['verbose'] image = Photonet.new(args, ) image.save puts Status.saved_album(image) if ['verbose'] end |
#tumblr(*args) ⇒ Object
94 95 96 97 98 99 |
# File 'lib/nokaya/app.rb', line 94 def tumblr *args puts Status.wait if ['verbose'] image = Tumblr.new(args, ) image.save puts Status.saved(image) if ['verbose'] end |
#tumblr_album(*args) ⇒ Object
104 105 106 107 108 109 |
# File 'lib/nokaya/app.rb', line 104 def tumblr_album *args puts Status.wait if ['verbose'] image = TumblrAlbum.new(args, ) image.save puts Status.saved_album(image) if ['verbose'] end |
#tvshow(*args) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/nokaya/app.rb', line 28 def tvshow *args puts Status.wait_api if ['verbose'] image = TVShow.new(args, ) image.save puts Status.saved(image) if ['verbose'] end |
#version ⇒ Object
163 164 165 166 167 168 |
# File 'lib/nokaya/app.rb', line 163 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 |