Sha256: 2b8b8fbe7429d1a027e8c5138a27f18a8100fc7134faba1bb78470f0b163256c

Contents?: true

Size: 394 Bytes

Versions: 5

Compression:

Stored size: 394 Bytes

Contents

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

require "linkedin_orbit"
require "thor"

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
linkedin_orbit-0.5.2 scripts/check_comments.rb
linkedin_orbit-0.5.1 scripts/check_comments.rb
linkedin_orbit-0.5.0 scripts/check_comments.rb
linkedin_orbit-0.3.0 scripts/check_comments.rb
linkedin_orbit-0.2.0 scripts/check_comments.rb