module RainforestQA::Modules::Sites

Public Instance Methods

create_site(options = {}) click to toggle source
# File lib/rainforestqa/modules/sites.rb, line 12
def create_site(options = {})
  perform(:post, "sites", options)
end
delete_site(id, options ={}) click to toggle source
# File lib/rainforestqa/modules/sites.rb, line 16
def delete_site(id, options ={})
  perform(:delete, "sites/#{id}", options)
end
sites(options = {}) click to toggle source
# File lib/rainforestqa/modules/sites.rb, line 8
def sites(options = {})
  perform(:get, "sites", options)
end
update_site(id, attributes = {}) click to toggle source
# File lib/rainforestqa/modules/sites.rb, line 20
def update_site(id, attributes = {})
  perform(:put, "sites/#{id}", attributes)
end