Sha256: d9ebbe9582f6a45781cadd904d577a5e457a0abda93bbd252df59b0e3f28aa5d
Contents?: true
Size: 662 Bytes
Versions: 76
Compression:
Stored size: 662 Bytes
Contents
require 'fog/aws/models/beanstalk/application' module Fog module AWS class ElasticBeanstalk class Applications < Fog::Collection model Fog::AWS::ElasticBeanstalk::Application def all(application_names=[]) data = service.describe_applications(application_names).body['DescribeApplicationsResult']['Applications'] load(data) # data is an array of attribute hashes end def get(application_name) if data = service.describe_applications([application_name]).body['DescribeApplicationsResult']['Applications'].first new(data) end end end end end end
Version data entries
76 entries across 74 versions & 3 rubygems