Sha256: db27c4c0e6f8cc116c71fd643e142017859fc6eedf4e2798df4b4a2cd46200bf

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 Bytes

Contents

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

require "circle_orbit"
require "thor"

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

Version data entries

2 entries across 2 versions & 1 rubygems

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