Sha256: ef369da032ed5fa1ba8f6deb58e762287903158efb606a71cdb4a201177d0d7f

Contents?: true

Size: 1.23 KB

Versions: 10

Compression:

Stored size: 1.23 KB

Contents

# encoding: utf-8

module GithubCLI
  class Event < API

    class << self

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

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

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

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

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

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

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

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

  end # Event
end # GithubCLI

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
github_cli-0.5.3 lib/github_cli/apis/event.rb
github_cli-0.5.2 lib/github_cli/apis/event.rb
github_cli-0.5.1 lib/github_cli/apis/event.rb
github_cli-0.5.0 lib/github_cli/apis/event.rb
github_cli-0.4.4 lib/github_cli/apis/event.rb
github_cli-0.4.3 lib/github_cli/apis/event.rb
github_cli-0.4.2 lib/github_cli/apis/event.rb
github_cli-0.4.1 lib/github_cli/apis/event.rb
github_cli-0.4.0 lib/github_cli/apis/event.rb
github_cli-0.3.1 lib/github_cli/apis/event.rb