Sha256: 8ef75363ac0e09f75b0358f074405da5f191315aa6600a1c92f34d060dc77a5c

Contents?: true

Size: 725 Bytes

Versions: 3

Compression:

Stored size: 725 Bytes

Contents

module LayerVault
  class Client
    module Projects
      def project(organization_name, project_name)
        get "#{organization_name}/#{project_name}"
      end

      def create_project(organization_name, project_name)
        post "#{organization_name}/#{project_name}"
      end

      def delete_project(organization_name, project_name)
        delete "#{organization_name}/#{project_name}"
      end

      def move_project(organization_name, project_name, options={})
        post "#{organization_name}/#{project_name}/move", options
      end

      def change_project_folder_color(organization_name, project_name, options={})
        put "#{organization_name}/#{project_name}", options
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
layervault-0.1.2 lib/layervault/client/projects.rb
layervault-0.1.1 lib/layervault/client/projects.rb
layervault-0.1.0 lib/layervault/client/projects.rb