Sha256: d486977f413873b28e8ed0fa04f3b11e394beb712ef54088c4b7ef4b99b922c5

Contents?: true

Size: 687 Bytes

Versions: 2

Compression:

Stored size: 687 Bytes

Contents

require "kono_mailup/engine"

module KonoMailup

  extend ActiveSupport::Autoload

  autoload :Engine
  autoload :API

  eager_autoload do

  end


  ##
  # MAILUP_CLIENT_ID
  mattr_accessor :mailup_client_id
  @@mailup_client_id = 'XXXXXXXXXX'

  ##
  # MAILUP_CLIENT_SECRET
  mattr_accessor :mailup_client_secret
  @@mailup_client_secret = 'XXXXXXXXXX'

  ##
  # Controller from where the engine inherit
  mattr_accessor :base_controller
  @@base_controller = Proc.new { ::ApplicationController }


  # Default way to setup KonoMailup. Run "rails generate kono_mailup_install" to create
  # a fresh initializer with all configuration values.
  def self.setup
    yield self
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kono_mailup-0.1.0 lib/kono_mailup.rb
kono_mailup-0.0.2 lib/kono_mailup.rb