Sha256: c772c2028e7dc9197e366128fb1d48408b6bad2b8ae0381891c8c9421a5baeca

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

module Noa #:nodoc:
  module Core #:nodoc:
    module Configuration
      # Hostnames for different environments
      #
      # Default values
      #
      #   hostnames = {
      #     development: "localhost:3000",
      #     test:        "example.com",
      #     production:  "example.com"
      #   }
      mattr_accessor :hostnames
      self.hostnames = {
        development: "localhost:3000",
        test:        "example.com",
        production:  "example.com"
      }
      
      # Application name
      #
      # Default value
      #
      #   application_name = "Noa Application"
      #
      # Localization key
      #
      #   noa.application.name
      mattr_accessor :application_name
      self.application_name = "Noa Application"
      
      # Mail sender name
      #
      # Default value
      #
      #   sender_name = Noa::Core::Configuration.application_name
      #
      # Localization key
      #
      #   noa.mailer.sender_name
      mattr_accessor :sender_name
      self.sender_name = Noa::Core::Configuration.application_name
      
      # Mail sender address
      #
      # Default value
      #
      #   sender_address = "info@example.com"
      #
      # Localization key
      #
      #   noa.mailer.sender_address
      mattr_accessor :sender_address
      self.sender_address = "info@example.com"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noa-core-0.0.2 lib/noa/core/configuration.rb