Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

[ENHANCEMENT] Railtie for configuration  #36

Description

@alex-bezek

Hello,

I work at a company that has been consuming the validic api directly through our current application. We are starting a new Rails app and would like to continue validic integration.

Currently, this gem supports being setup via an initializer. For all of our service client gems, we build them with Railties and support loading configurations from yml files instead. This allows us to maintain different access tokens per environment, and also allows us to store these secrets in a secret chef repo, and then our chef deployment cook books can write to the yml file (where writing to an intializer ruby file is can be less of a standard format and therefore harder). We also allow the railtie to provide configuration hooks for rails specific things such as configuring your Rails Cache method.

Let me know if you have any suggestions, better ideas, or if this seems like a Pull Request you would be interested in accepting.

Thanks for your time,
Alex

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions