Sha256: f73765241105a1ebf24fb181777b88fa1cf0c9fd4eb8d77c069cc5f8f4f4000b

Contents?: true

Size: 1.39 KB

Versions: 3

Compression:

Stored size: 1.39 KB

Contents

# encoding: utf-8

module GithubCLI
  class Event < API

    class << self

      def public(params, options)
        output options do
          github_api(options).activity.events.public params
        end
      end

      def repository(user, repo, params, options)
        output options do
          github_api(options).activity.events.repository user, repo, params
        end
      end

      def issue(user, repo, params, options)
        output options do
          github_api(options).activity.events.issue user, repo, params
        end
      end

      def network(user, repo, params, options)
        output options do
          github_api(options).activity.events.network user, repo, params
        end
      end

      def organization(org, params, options)
        output options do
          github_api(options).activity.events.organization org, params
        end
      end

      def received(user, params, options)
        output options do
          github_api(options).activity.events.received user, params
        end
      end

      def performed(user, params, options)
        output options do
          github_api(options).activity.events.performed user, params
        end
      end

      def user_org(user, org, params, options)
        output options do
          github_api(options).activity.events.user_org user, org, params
        end
      end
    end

  end # Event
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
github_cli-0.6.2 lib/github_cli/apis/event.rb
github_cli-0.6.1 lib/github_cli/apis/event.rb
github_cli-0.6.0 lib/github_cli/apis/event.rb