class CrossPost
Constants
- LOGGER
- VERSION
Attributes
mastodon[R]
twitter[R]
Public Class Methods
feed()
click to toggle source
# File lib/cross-post.rb, line 32 def self.feed self.new.feed end
new()
click to toggle source
# File lib/cross-post.rb, line 22 def initialize @config = Config.new @mastodon = Mastodon.new @config @twitter = Twitter.new @config end
Public Instance Methods
feed()
click to toggle source
# File lib/cross-post.rb, line 28 def feed @mastodon.feed @twitter end