Sha256: 5bfc0e25f0e9577e11cac1781869cae8dfa742a24c631e985ab38d2ed20c535f
Contents?: true
Size: 837 Bytes
Versions: 2
Compression:
Stored size: 837 Bytes
Contents
class RegisteredProvider < ActiveRecord::Base class Aws < RegisteredProvider def self.load_registered_providers return unless super transaction do [ set('AWS', '1072ddc9-e04f-4d43-929b-8866ce7e6d3a') ].each { |s| create! s.merge!(type: 'RegisteredProvider::Aws') } end end def provider_class 'Provider::Aws'.constantize end def description 'Amazon Web Services' end def tags ['aws'] end def questions [ { name: :access_id, value_type: :string, field: :text, label: 'Access ID', required: true }, { name: :secret_key, value_type: :password, field: :password, label: 'Secret Key', required: :if_new }, { name: :region, value_type: :string, field: :aws_regions, required: true } ] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jellyfish-aws-0.0.4 | app/models/registered_provider/aws.rb |
jellyfish-aws-0.0.3 | app/models/registered_provider/aws.rb |