Sha256: d1564fe140f90d6421627dbb96b9f80e215aba437d988fc43b52cf8e9641b4f1

Contents?: true

Size: 698 Bytes

Versions: 1

Compression:

Stored size: 698 Bytes

Contents

module AssetHostCore
  class Config
    class << self
      def current_user_method(&blk)
        @current_user = blk if blk
        @current_user
      end

      #----------

      def sign_out_path(&blk)
        @sign_out = blk if blk
        @sign_out
      end

      #----------

      def authentication_method(&blk)
        @authentication = blk if blk
        @authentication
      end

      #----------

      def api_authentication_method(&blk)
        @api_authentication = blk if blk
        @api_authentication
      end
    end


    attr_accessor :flickr_api_key,
      :brightcove_api_key,
      :google_api_key,
      :thumb_size,
      :modal_size,
      :detail_size
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asset_host_core-2.0.0.beta lib/asset_host_core/config.rb