Sha256: 85ac6c1d305eb7c03958189848b8f9e5d207d34feaf160724a330bfe07fd9349

Contents?: true

Size: 641 Bytes

Versions: 14

Compression:

Stored size: 641 Bytes

Contents

# frozen_string_literal: true
require 'thor'
require 'rest-client'
require 'json'
require 'awesome_print'
require 'pubnub'


module Sapos
  module Print
    class Error < StandardError; end
    
    
    def self.home_dir
      Dir.home
    end
    
    def self.app_directory
      dir = File.join(Sapos::Print.home_dir,".sapos-print")
      FileUtils.mkdir_p dir unless File.exists?(dir)
      dir
    end
    
    def self.config
      @config ||= Sapos::Print::Configuration.new
    end
    
  end
end

require_relative "print/version"
require_relative "print/configuration"
require_relative "print/q_reader"
require_relative "print/cli"

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sapos-print-1.1.3 lib/sapos/print.rb
sapos-print-1.1.2 lib/sapos/print.rb
sapos-print-1.1.1 lib/sapos/print.rb
sapos-print-1.1.0 lib/sapos/print.rb
sapos-print-1.0.10 lib/sapos/print.rb
sapos-print-1.0.9 lib/sapos/print.rb
sapos-print-1.0.8 lib/sapos/print.rb
sapos-print-1.0.7 lib/sapos/print.rb
sapos-print-1.0.6 lib/sapos/print.rb
sapos-print-1.0.5 lib/sapos/print.rb
sapos-print-1.0.4 lib/sapos/print.rb
sapos-print-1.0.3 lib/sapos/print.rb
sapos-print-1.0.1 lib/sapos/print.rb
sapos-print-1.0.0 lib/sapos/print.rb