Skip to content

Repository files navigation

Active Storage Colore Service

Build Status RuboCop

Active Storage Colore Service is a Ruby-based client for integrating with the Colore service, which provides functionalities for managing and processing color-related data in Active Storage.

Installation

Add this line to your application's Gemfile:

gem 'activestorage-colore'

And then execute:

bundle install

Usage

To use Active Storage Colore Client, you need to configure it with your Colore service endpoint and any necessary authentication details.

Here is an example of how to configure and use the client:

require 'activestorage-colore'

# Configure the client
ActiveStorage::Colore.configure do |config|
  config.endpoint = 'https://your-colore-service-endpoint'
  config.api_key = 'your-api-key'
end

# Example usage
color_data = ActiveStorage::Colore.process(image_path)
puts color_data

Configuration

Configuration options include:

  • endpoint: The URL of your Colore service endpoint.
  • api_key: Your API key for authenticating with the Colore service.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Active Storage Colore Client

Resources

Stars

0 stars

Watchers

10 watching

Forks

Releases

Used by

Contributors

Languages