Sha256: 2bd82c28008e546fad6e5de3a7042cf47ce8aeb9399276dcb004fec19caa35ab

Contents?: true

Size: 591 Bytes

Versions: 1

Compression:

Stored size: 591 Bytes

Contents

# frozen_string_literal: true
require 'heroics'

Heroics.default_configuration do |config|
  config.base_url = 'https://api.heroku.com'
  config.module_name = 'PlatformAPI'
  config.schema_filepath = File.join(File.expand_path('../..', __FILE__), 'schema.json')

  config.headers = { 'Accept' => 'application/vnd.heroku+json; version=3' }
  config.ruby_name_replacement_patterns = {
    /add[^a-z]+on/i => 'addon',
    /[\s-]+/ => '_',
  }
  # This needs to be in single quotes to avoid interpolation during the client
  # build
  config.cache_path = '#{Dir.home}/.heroics/platform-api'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
platform-api-1.0.1 config/client-config.rb