Sha256: bd232213417873f6010574160ffac35f324ef6bd2583996e07844ba6101ca76c

Contents?: true

Size: 973 Bytes

Versions: 2

Compression:

Stored size: 973 Bytes

Contents

= ragios-client

{Documentation}[http://www.whisperservers.com/ragios/ragios-saint-ruby/using-ragios]

== usage
 require 'ragios-client'

 ragios = Ragios::Client.new

 ragios = Ragios::Client.new(username: 'admin', password: 'password')

 ragios = Ragios::Client.new(address: 'http://localhost', port: '5041')

 ragios = Ragios::Client.new(username: 'admin', password: 'password', address: 'http://localhost', port: '5041')

 ragios.login('admin', 'password')

 monitors = [{monitor: "my website",
  every: "5m",
  url: "http://mywebsite.com",
  via: "twtter_notifier",
  plugin: "url_monitor"
 }]

 ragios.add monitors

 ragios.find(monitor_id)

 ragios.all

 ragios.stop(monitor_id)

 ragios.restart(monitor_id)

 ragios.delete(monitor_id)

 ragios.where(options)

 ragios.update(monitor_id, options)

 ragios.test(monitor_id)

 ragios.address
 #=> http://localhost

 ragios.port
 #=> 5041


== Copyright

Copyright (c) 2013 obi-a. See LICENSE.txt for
further details.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ragios-client-0.0.4 README.rdoc
ragios-client-0.0.3 README.rdoc