Small Facturama Client.
Add this line to your application's Gemfile:
gem 'facturama', git: 'https://github.com/NebulaFintech/facturama.git'
And then execute:
$ bundle
Facturama.configure do |config|
config.user = 'user'
config.password = 'password'
end
csd = Facturama::Csd.create(rfc: 'rfc', certificate: 'cer', private_key: 'key', private_key_password: 'pass')
=> #<Facturama::Csd:0x00007fa0d7306450 @id="rfc", @rfc="rfc", @certificate="cer", @private_key="key", @private_key_password="pass">
csd.delete
=> #<Facturama::Csd:0x00007fa0d7306450 @id="rfc", @rfc="rfc", @certificate="cer", @private_key="key", @private_key_password="pass">
After checking out the repo, run bundle
to install dependencies. Then, run rspec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags.
Bug reports and pull requests are welcome on GitHub at https://github.com/NebulaFintech/facturama. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Facturama project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.