class Ruboty::Ss::Storage::Gyazo

Public Instance Methods

upload(image_file, options) click to toggle source
# File lib/ruboty/ss/storage/gyazo.rb, line 10
def upload(image_file, options)
  "#{client.upload(image_file.path)}.png"
rescue => e
  e.message
end

Private Instance Methods

client() click to toggle source
# File lib/ruboty/ss/storage/gyazo.rb, line 18
def client
  ::Gyazo::Client.new
end