Sha256: 603e05106d5842032393fb5520d18be7afa2b1a1ed7cc88a6bd2816023e086cf

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

module ZenhubRuby
  class Client
    module Api
      def issue_data(repo_name, issue_number)
        get "/p1/repositories/#{github.repo_id(repo_name)}/issues/#{issue_number}"
      end

      def issue_events(repo_name, issue_number)
        get "/p1/repositories/#{github.repo_id(repo_name)}/issues/#{issue_number}/events"
      end

      def board_data(repo_name)
        get "/p1/repositories/#{github.repo_id(repo_name)}/board"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zenhub_ruby-0.2.1 lib/zenhub_ruby/client/api.rb