Sha256: 13884a813d32de49a88f1c311b888c0ca957b9a53fb9894952d713198d4d8355

Contents?: true

Size: 360 Bytes

Versions: 2

Compression:

Stored size: 360 Bytes

Contents

module EY
  module Action
    module Util

    protected

      def account
        # XXX it stinks that we have to use EY::CLI::API explicitly
        # here; I don't want to have this lateral Action --> CLI reference
        @account ||= EY::Account.new(EY::CLI::API.new)
      end

      def repo
        @repo ||= EY::Repo.new
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
engineyard-0.3.1 lib/engineyard/action/util.rb
engineyard-0.3.0 lib/engineyard/action/util.rb