Sha256: 18081ee2792bc602c926a65e3f4dcc76dd8f590a6c95a3bade57fb394b7c8f26
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
require 'bijo/client/google' require 'bijo/client/tumblr' module Bijo class Command def initialize(arguments) @arguments = arguments end def execute image = client.get system "qlmanage -p #{image.path}" end private def client(request_service: @arguments.request_service) if request_service == 'tumblr' Client::Tumblr.new(@arguments.query) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bijo-0.0.1 | lib/bijo/command.rb |