Module: ActivityPub
- Defined in:
- lib/activity_pub.rb,
lib/activity_pub/hooks.rb,
lib/activity_pub/routes.rb,
lib/activity_pub/exceptions.rb,
lib/activity_pub/routes/inbox.rb,
lib/activity_pub/configuration.rb
Defined Under Namespace
Modules: Hooks
Classes: Configuration, Error, Routes
Constant Summary
collapse
- HOOKS =
%w[
activity_pub.inbox.before_post
activity_pub.inbox.after_post
activity_pub.well_known.webfinger.before_get
activity_pub.well_known.webfinger.after_get
].freeze
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
8
9
10
|
# File 'lib/activity_pub/configuration.rb', line 8
def self.config
@configuration ||= Configuration.new
end
|
4
5
6
|
# File 'lib/activity_pub/configuration.rb', line 4
def self.configure
yield config
end
|