Sha256: 182ba212cdd08d2a1829b5bc86d60ec3d51bca580fcb59e8568c9cc220dc6962
Contents?: true
Size: 505 Bytes
Versions: 5
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true module Pdfmonkey class Configuration attr_accessor :host attr_accessor :namespace attr_accessor :private_key def initialize @host = 'https://api.pdfmonkey.io' @namespace = 'api/v1' @private_key = ENV['PDFMONKEY_PRIVATE_KEY'] end end def self.configuration @configuration ||= Configuration.new end def self.configuration=(config) @configuration = config end def self.configure yield configuration end end
Version data entries
5 entries across 5 versions & 1 rubygems