Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lobbyist-ruby / lib / lobbyist / v2 / print_batch_job.rb
Size: Mime:
module Lobbyist
  module V2
    class PrintBatchJob < Lobbyist::V2::Base
      attr_accessor :id, :filename, :status, :sent_at, :created_at

      def self.list(params = {})
        create_collection_from_response(get('/v2/print-batch-jobs.json', params))
      end

      def self.communication_pieces(id, params={})
        response = get("v2/print-batch-jobs/#{id}/communication-pieces.json", params)
        create_collection_from_response(response)
      end
    end
  end
end