Parent

Included Modules

Class/Module Index [+]

Quicksearch

Backup::Notifier::Campfire::Interface

The Campfire::Interface acts as the Interface for the Campfire class. It uses the HTTParty library and the Campfire::Room class to communicate with the Campfire rooms. HTTParty provides the Campfire::Interface with the methods necessary to communicate (inside the HTTParty module) such as the class methods:

Public Class Methods

room(room_id, subdomain, api_token) click to toggle source

Instantiates a new Campfire::Room object with the provided arguments and returns this object

# File lib/backup/notifier/campfire.rb, line 86
def self.room(room_id, subdomain, api_token)
  Room.new(room_id, subdomain, api_token)
end

Public Instance Methods

Content-Type click to toggle source

We communicate using the JSON data format

# File lib/backup/notifier/campfire.rb, line 81
headers 'Content-Type' => 'application/json'

[Validate]

Generated with the Darkfish Rdoc Generator 2.