Sha256: b2fa1d2b87b141e49436337b87244d8f4663041a03113cceda686f9f789849ca

Contents?: true

Size: 636 Bytes

Versions: 2

Compression:

Stored size: 636 Bytes

Contents

# frozen_string_literal: true

require 'beyond_canvas/engine'

require 'colorize'

require 'bourbon'
require 'slim-rails'
require 'inline_svg'
require 'http/accept'
require 'premailer/rails'

require 'beyond_api'

module BeyondCanvas
  class << self
    attr_accessor :configuration
  end

  def self.setup
    self.configuration ||= Configuration.new

    yield configuration
  end

  class Configuration
    attr_accessor :public_logo, :stylesheet_link_tag, :javascript_include_tag

    def initialize
      @public_logo = nil
      @stylesheet_link_tag = 'application'
      @javascript_include_tag = 'application'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beyond_canvas-0.13.1.pre lib/beyond_canvas.rb
beyond_canvas-0.13.0.pre lib/beyond_canvas.rb