Sha256: 51b2ae022b0f7f8429e7cbc22908d0e435266763bea41701cad4d535baaa786d
Contents?: true
Size: 923 Bytes
Versions: 1
Compression:
Stored size: 923 Bytes
Contents
# frozen_string_literal: true require "uri" require "net/http" require "tempfile" require "breezy_pdf_lite/version" require "breezy_pdf_lite/util" # :nodoc module BreezyPDFLite extend BreezyPDFLite::Util autoload :Client, "breezy_pdf_lite/client" autoload :Intercept, "breezy_pdf_lite/intercept" autoload :Interceptor, "breezy_pdf_lite/interceptor" autoload :Middleware, "breezy_pdf_lite/middleware" autoload :RenderRequest, "breezy_pdf_lite/render_request" Error = Class.new(StandardError) RenderError = Class.new(Error) mattr_accessor :secret_api_key @@secret_api_key = nil mattr_accessor :base_url @@base_url = "https://localhost:5001/" mattr_accessor :middleware_path_matchers @@middleware_path_matchers = [/\.pdf/] mattr_accessor :open_timeout @@open_timeout = 30 mattr_accessor :read_timeout @@read_timeout = 30 def self.setup yield self end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
breezy_pdf_lite-0.1.1 | lib/breezy_pdf_lite.rb |