Sha256: 1cc6e8b3b878565fd3c681f37a705482b6a1d33c8045f47a65d8af4e9c6de629

Contents?: true

Size: 357 Bytes

Versions: 6

Compression:

Stored size: 357 Bytes

Contents

require 'capistrano/ec2_role_tag/aws_ec2_loader'

module Capistrano
  module Ec2RoleTag
    class AwsEc2RoleLoader
      def initialize(options = {})
        @provider = AwsEc2Loader.new(region: options[:region])
        @stage = options[:stage]
      end
      def fetch(role)
        @provider.fetch(stage: @stage, role: role)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
capistrano-ec2_role_tag-0.0.6 lib/capistrano/ec2_role_tag/aws_ec2_role_loader.rb
capistrano-ec2_role_tag-0.1.4 lib/capistrano/ec2_role_tag/aws_ec2_role_loader.rb
capistrano-ec2_role_tag-0.1.2 lib/capistrano/ec2_role_tag/aws_ec2_role_loader.rb
capistrano-ec2_role_tag-0.1.0 lib/capistrano/ec2_role_tag/aws_ec2_role_loader.rb
capistrano-ec2_role_tag-0.0.4 lib/capistrano/ec2_role_tag/aws_ec2_role_loader.rb
capistrano-ec2_role_tag-0.0.2 lib/capistrano/ec2_role_tag/aws_ec2_role_loader.rb