module MorpheusHeroku

Constants

VERSION

Attributes

configuration[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/morpheus-heroku.rb, line 37
def self.configure
  self.configuration ||= Config.new
  yield(configuration)
end

Public Instance Methods

deploy(environment = :production) click to toggle source
# File lib/morpheus-heroku.rb, line 29
def deploy(environment = :production)
  if environment == :production
    MorpheusHeroku::Deploy.production
  elsif environment == :staging
    raise NotImplemented, "MorpheusHeroku doesn't support deploying to staging yet!"
  end
end
fetch() click to toggle source
# File lib/morpheus-heroku.rb, line 21
def fetch
  MorpheusHeroku::Fetch.run
end
load() click to toggle source
# File lib/morpheus-heroku.rb, line 25
def load
  MorpheusHeroku::Load.run
end