Kount::RIS

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/kount/ris. To experiment with that code, run bin/console for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

Installation

Add this line to your application's Gemfile:

gem 'kount-ris'

And then execute:

$ bundle

Or install it yourself as:

$ gem install kount-ris

Usage

TODO: Write usage instructions here

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. 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, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/kount-ris. 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.

Code of Conduct

Everyone interacting in the Kount::RIS project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

To-Do

  1. cleanup configuration

    • default Kount configuration options should be set by an initializer in the main application
    • this could be loaded from yml or any other method perferd by the application
    • some default defaults could be included in the configuration
    • Kount.configuration should store/return an instance of Kount::Configuration
  2. consolidate custom validations

    • validating nested/associated objects on a Inquiry or Response object is completed using custom validation methods
    • these methods are all very similar and could be consolidated into some common code libraries
    • this could probably be added into Kount::RIS::Base
  3. Add support for Kount.configurations

    • this class method would hold a hash of named Kount::Configuration objects
    • an Inquiry should have an association to a Kount::Configuration, either the default Kount.configuration, a named Kount::Configuration, or a passed Kount::Configuration object
  4. store response TIMEZONE value in Device#timezone as a DateTime offset