Class: Sputnik::DatabaseStats

Inherits:
Base
  • Object
show all
Defined in:
lib/sputnik/database_stats.rb

Class Method Summary collapse

Methods inherited from Base

client

Class Method Details

.find(database_name) ⇒ Object



4
5
6
# File 'lib/sputnik/database_stats.rb', line 4

def find(database_name)
  DatabaseStats.new(client.get("/databases/#{database_name}/stats"))
end