class Robut::Plugin::Shipr::Configuration

Attributes

api_base[RW]

The base url where shipr is located.

branch[RW]

A Proc object used to determine the branch to deploy based on an environment.

branch_delimiter[RW]

A string used to delimit the repo name and the branch name

credentials[RW]

The basic auth credentials.

github_organization[RW]

The github organization to use when determining the repo.

Public Class Methods

new() click to toggle source
# File lib/robut/plugin/shipr/configuration.rb, line 19
def initialize
  @branch_delimiter = '#'.freeze
  @api_base = ENV['SHIPR_BASE'] || 'https://shipr.herokuapp.com'
  @github_organization = ENV['SHIPR_GITHUB_ORG']
end