0.0
The project is in a healthy, maintained state
This rubygem does not have a description or summary.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 12.0
~> 3.0
= 0.81.0
~> 2.3

Runtime

 Project Readme

bima-shark-sdk

Build Status

Installation

Include bima-shark-sdk in your Gemfile and put the gem in the vendor/cache directory of your Rails application.

  gem "bima-shark-sdk"

Configuration

  Shark.configure do |config|
    config.asset_service.site = __ASSET_SERVICE_URL__

    config.contact_service.site = __CONTACT_SERVICE_URL__

    config.consent_service.site = __CONSENT_SERVICE_URL__

    config.double_opt_in_service.site = __DOUBLE_OPT_IN_SERVICE_URL__

    config.form_service.site = __FORM_SERVICE_URL__

    config.subscription_service.site = __SUBSCRIPTION_SERVICE_URL__

    config.survey_service.site = __MILACRM_URL__
  end

If you want to send emails in your application also add:

Shark::MailingService.use_shark_mailer do |mailer|
  mailer.context_helpers = [
    ActiveSupport::NumberHelper
  ]
  mailer.default_layout = 'system_2019'
  mailer.default_template_root = File.expand_path('../../app/views', __dir__)
end

Testing

bundle exec rake spec

Documentation

Please look for the documentation in the wiki.