Sha256: 51e35f360e0b4b148e6385884bb288d526082b8fed725e297ceb563c43e03da5

Contents?: true

Size: 490 Bytes

Versions: 3

Compression:

Stored size: 490 Bytes

Contents

class Ey::Core::Client
  class Real
    def get_auto_scaling_group(params={})
      id  = params["id"]
      url = params["url"]

      request(
        :path => "auto_scaling_groups/#{id}",
        :url  => url,
      )
    end
  end # Real

  class Mock
    def get_auto_scaling_group(params={})
      response(
        :body => {"auto_scaling_group" => self.find(:auto_scaling_groups, resource_identity(params))},
      )
    end
  end # Mock
end # Ey::Core::Client

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ey-core-3.6.6 lib/ey-core/requests/get_auto_scaling_group.rb
ey-core-3.4.5 lib/ey-core/requests/get_auto_scaling_group.rb
ey-core-3.6.5 lib/ey-core/requests/get_auto_scaling_group.rb