Sha256: 19e03fd6a93533ab0408b7b18fb2521f7eef7a21a7e1a21b6f1e2bea7224f7c1

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Authorization < API

    class << self

      def all(params)
        github_api.oauth.list params
      end

      def get(id, params)
        github_api.oauth.get id, params
      end

      def create(params)
        github_api.oauth.create params
      end

      def update(id, params)
        github_api.oauth.update id, params
      end

      def delete(id, params)
        github_api.oauth.delete id, params
      end
    end

  end # Authorization
end # GithubCLI

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github_cli-0.2.1 lib/github_cli/apis/authorization.rb