Sha256: 58007401726546215cc3cd8a8c8aea60ee9639bee7c704947d424ae4bc156039

Contents?: true

Size: 391 Bytes

Versions: 2

Compression:

Stored size: 391 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "circle_orbit"
require "thor"

module CircleOrbit
  module Scripts
    class CheckComments < Thor
      desc "render", "check for new comments in Spaces posts and push them to Orbit"
      def render(*params)
        client = CircleOrbit::Client.new(historical_import: params[0])
        client.comments
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
circle_orbit-0.2.0 scripts/check_comments.rb
circle_orbit-0.1.0 scripts/check_comments.rb