Sha256: 7129c8e5eab1776e1a7ba51d45f7d3fd064797a947db1bca7182c8783830126c

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

module Gerry
  class Client
    module Projects
      # Get the projects accessible by the caller.
      #
      # @return [Hash] the projects.
      def projects
        get('/projects/')
      end
      
      # Get the projects that start with the specified prefix 
      # and accessible by the caller.
      #
      # @param [String] name the project name.
      # @return [Hash] the projects.
      def find_project(name)
        get("/projects/#{name}")
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gerry-0.0.3 lib/gerry/client/projects.rb