Sha256: 878e1baea80f354d197b754236dbf508609e315f108850987a929d2d7fe7e28b

Contents?: true

Size: 314 Bytes

Versions: 6

Compression:

Stored size: 314 Bytes

Contents

module StatRaptor
  class Client
    module Projects
      def create_project(params = {})
        post("/api/v1/projects", params)
      end

      def delete_project(params = {})
        delete("/api/v1/projects/#{params[:subdomain]}", :user_credentials => params[:user_credentials])
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
statraptor-0.2.6 lib/statraptor/client/projects.rb
statraptor-0.2.5 lib/statraptor/client/projects.rb
statraptor-0.2.4 lib/statraptor/client/projects.rb
statraptor-0.2.3 lib/statraptor/client/projects.rb
statraptor-0.2.2 lib/statraptor/client/projects.rb
statraptor-0.2.1 lib/statraptor/client/projects.rb