Sha256: 4b72b6d0b4def6f6f04758af22139b2c2d93d5091f0a5340f5a367e5621fcbc8

Contents?: true

Size: 753 Bytes

Versions: 16

Compression:

Stored size: 753 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Authorization < API

    class << self

      def all(params, format)
        output format do
          github_api.oauth.list params
        end
      end

      def get(id, params, format)
        output format do
          github_api.oauth.get id, params
        end
      end

      def create(params, format)
        output format do
          github_api.oauth.create params
        end
      end

      def update(id, params, format)
        output format do
          github_api.oauth.update id, params
        end
      end

      def delete(id, params, format)
        output format do
          github_api.oauth.delete id, params
        end
      end
    end

  end # Authorization
end # GithubCLI

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
github_cli-0.5.8 lib/github_cli/apis/authorization.rb
github_cli-0.5.7 lib/github_cli/apis/authorization.rb
github_cli-0.5.6 lib/github_cli/apis/authorization.rb
github_cli-0.5.5 lib/github_cli/apis/authorization.rb
github_cli-0.5.4 lib/github_cli/apis/authorization.rb
github_cli-0.5.3 lib/github_cli/apis/authorization.rb
github_cli-0.5.2 lib/github_cli/apis/authorization.rb
github_cli-0.5.1 lib/github_cli/apis/authorization.rb
github_cli-0.5.0 lib/github_cli/apis/authorization.rb
github_cli-0.4.4 lib/github_cli/apis/authorization.rb
github_cli-0.4.3 lib/github_cli/apis/authorization.rb
github_cli-0.4.2 lib/github_cli/apis/authorization.rb
github_cli-0.4.1 lib/github_cli/apis/authorization.rb
github_cli-0.4.0 lib/github_cli/apis/authorization.rb
github_cli-0.3.1 lib/github_cli/apis/authorization.rb
github_cli-0.3.0 lib/github_cli/apis/authorization.rb