Bintje
Provides few methods to access OpenObject's framework models and methods through xmlrpc.
Installation
Add this line to your application's Gemfile:
gem 'bintje'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bintje
Usage
Include the OpenObject module into a class :
class ReceiverModel
include OpenObject
end
If the OpenObject model name is not you class name underscored, then set the OpenObject model name
class ReceiverModel
include OpenObject
set_open_object_model "another_name"
end
Then you can request OpenObject models with standard CRUD methods ...
See spec/reciever_model_spec.rb
for more details on how it works
Generate documentation
- install yard gem
- yard doc
- yard graph --dependencies --empty-mixins --full | dot -T svg -o diagram.svg
- firefox doc/index.html
- firefox doc/diagram.svg
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