Sha256: a221442d40c3f88efd193e06ebfac56ca3d26ad05ab0ddf057925febfafbe938

Contents?: true

Size: 385 Bytes

Versions: 33

Compression:

Stored size: 385 Bytes

Contents

class Ey::Core::Client
  class Real
    def get_deployment(params={})
      id  = params.delete("id")
      url = params.delete("url")

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

  class Mock
    def get_deployment(params={})
      response(body: {"deployment" => find(:deployments, resource_identity(params))})
    end
  end
end

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
ey-core-3.6.0.autoscaling1 lib/ey-core/requests/get_deployment.rb
ey-core-3.6.4 lib/ey-core/requests/get_deployment.rb
ey-core-3.6.3 lib/ey-core/requests/get_deployment.rb
ey-core-3.6.1 lib/ey-core/requests/get_deployment.rb
groove-ey-core-3.6.3 lib/ey-core/requests/get_deployment.rb
groove-ey-core-3.6.2 lib/ey-core/requests/get_deployment.rb
groove-ey-core-3.6.1 lib/ey-core/requests/get_deployment.rb
ey-core-3.5.0 lib/ey-core/requests/get_deployment.rb
ey-core-3.4.4 lib/ey-core/requests/get_deployment.rb
ey-core-3.4.2 lib/ey-core/requests/get_deployment.rb
ey-core-3.4.1 lib/ey-core/requests/get_deployment.rb
ey-core-3.4.0 lib/ey-core/requests/get_deployment.rb
ey-core-3.3.1 lib/ey-core/requests/get_deployment.rb
ey-core-3.3.0 lib/ey-core/requests/get_deployment.rb
ey-core-3.2.6 lib/ey-core/requests/get_deployment.rb
ey-core-3.2.5 lib/ey-core/requests/get_deployment.rb
ey-core-3.2.4 lib/ey-core/requests/get_deployment.rb
ey-core-3.2.3 lib/ey-core/requests/get_deployment.rb
ey-core-3.2.2 lib/ey-core/requests/get_deployment.rb
ey-core-3.2.1 lib/ey-core/requests/get_deployment.rb