Confluency
Confluency serves as a client to connect to Confluence and treats you to some easy helper methods to format text for to meet Confluence's storage format
Installation
Add this line to your application's Gemfile:
gem 'confluency'
And then execute:
$ bundle
Or install it yourself as:
$ gem install confluency
Usage
To Connect
client = Confluency::Client.new("CONFLUENCE_URL")
client.login("user","password")
Remote Methods
These will allow you to do things to administer Confluence, i.e. Add spaces, change permissions, delete pages, etc.
For a list of valid remote methods, please see Confluence's list of remote methods and note that the token can be ommited. The Confluency client already passes the token into the method.
Helper Methods
These helper methods are intended to make formating document easier from you application.
# String#to_heading
"HELLO".to_heading(3) # => <h3>HELLO</h3>
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request