Sha256: 9151f0b5fea601889f19513be419d842f321c8353eed6eea8019bc4a5041e50e

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true

module GithubEventsExport
  # Save each Event to disk
  class Export
    def initialize(client)
      @client = client
    end

    def run
      Event.all(client).each(&:save)
    end

    private

    attr_reader :client
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github_events_export-0.1.0 lib/github_events_export/export.rb