Sha256: a65f031d43c414861818ecd4b152a5f6f21763b61f22b0947bcb3216b5c1730e

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

module StatRaptor
  class Client
    module Users
      def create_user(params = {})
        post("/api/v1/users.json", :user => params)
      end

      def delete_user(user_credentials)
        delete("/api/v1/users/#{user_credentials}.json")
      end

      def get_users
        get("/api/v1/users.json")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
statraptor-0.2.2 lib/statraptor/client/users.rb
statraptor-0.2.1 lib/statraptor/client/users.rb