Module: Discostu
- Defined in:
- lib/discostu.rb
Overview
This module is a wrapper around ActiveResource that creates the Disco Stu client API. It defines two classes, Discostu::Link and Discostu::Comment, that respond to the usual ActiveRecord/ActiveResource methods.
You need to define your Disco Stu username and password before operating on any resources:
Discostu::Configuration.user = 'Brfxxccxxmnpcccclllmmnprxvclmnckssqlbb11116'
Discostu::Configuration.password = 'Albin'
Additionally, if you want to use a Disco Stu site other than the default of discostu.us/:
Discostu::Configuration.site = 'http://discostu.example.com/'
Defined Under Namespace
Classes: Comment, Configuration, Link