module Platforms::Core

Common functionality across all Platforms should go in the Core module.

That includes minimal storage of external data, which should of course be limited to ensure ongoing consistency. For example, Yammer has the concept of a hashtag, even though Teams does not. The representation sits in Platforms::Core (not Platforms::Yammer) as it is replicating an external data object.

Constants

VERSION

Version for display. Update as required.

Public Class Methods

configuration() click to toggle source

Get the configuration @return [Platforms::Configuration] the current configuration

# File lib/platforms/core/configuration.rb, line 11
def configuration
  @configuration ||= Configuration.new
end
configure() { |configuration| ... } click to toggle source

Used by initializers to set the configuration @yield [configuration] provides the configuration context

# File lib/platforms/core/configuration.rb, line 17
def configure
  yield configuration
end