Sha256: e98ad6c7d560199522b676e117670b276d5833bff6bd6a86027c77b12d761727

Contents?: true

Size: 519 Bytes

Versions: 9

Compression:

Stored size: 519 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_github_base0/api/entity'
require 'avm/eac_github_base0/api/repository'
require 'eac_rest/api'
require 'eac_ruby_utils/core_ext'

module Avm
  module EacGithubBase0
    class Api < ::EacRest::Api
      class Organization < ::Avm::EacGithubBase0::Api::Entity
        # @return [Array<Avm::EacGithubBase0::Api::Repository>]
        def repositories
          all_from_list(::Avm::EacGithubBase0::Api::Repository, "/orgs/#{id}/repos")
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
eac_tools-0.84.0 sub/avm-eac_github_base0/lib/avm/eac_github_base0/api/organization.rb
eac_tools-0.83.0 sub/avm-eac_github_base0/lib/avm/eac_github_base0/api/organization.rb
eac_tools-0.82.0 sub/avm-eac_github_base0/lib/avm/eac_github_base0/api/organization.rb
avm-eac_github_base0-0.3.0 lib/avm/eac_github_base0/api/organization.rb
eac_tools-0.81.0 sub/avm-eac_github_base0/lib/avm/eac_github_base0/api/organization.rb
eac_tools-0.80.0 sub/avm-eac_github_base0/lib/avm/eac_github_base0/api/organization.rb
avm-eac_github_base0-0.2.0 lib/avm/eac_github_base0/api/organization.rb
eac_tools-0.79.0 sub/avm-eac_github_base0/lib/avm/eac_github_base0/api/organization.rb
avm-eac_github_base0-0.1.0 lib/avm/eac_github_base0/api/organization.rb