Module: BlueFactory

Extended by:
Configurable, Feeds
Defined in:
lib/blue_factory.rb,
lib/blue_factory/errors.rb,
lib/blue_factory/server.rb,
lib/blue_factory/version.rb,
lib/blue_factory/configuration.rb,
lib/blue_factory/modules/feeds.rb,
lib/blue_factory/tasks/support.rb,
lib/blue_factory/modules/configurable.rb

Defined Under Namespace

Modules: Configurable, Feeds, Net Classes: AuthorizationError, InvalidKeyError, InvalidRequestError, InvalidResponseError, Server, UnsupportedAlgorithmError

Constant Summary collapse

FEED_GENERATOR_TYPE =
'app.bsky.feed.generator'
VERSION =
"0.1.4"

Class Method Summary collapse

Methods included from Configurable

extended, set

Methods included from Feeds

add_feed, all_feeds, extended, feed_keys, get_feed

Class Method Details

.environmentObject



12
13
14
# File 'lib/blue_factory/configuration.rb', line 12

def self.environment
  (ENV['APP_ENV'] || ENV['RACK_ENV'] || :development).to_sym
end

.service_didObject



8
9
10
# File 'lib/blue_factory/configuration.rb', line 8

def self.service_did
  'did:web:' + hostname
end