Sha256: 59e6f99c6fc823268ac7bccc9abe69e583fc598499907241af6d4092ccd80f28

Contents?: true

Size: 691 Bytes

Versions: 53

Compression:

Stored size: 691 Bytes

Contents

class Ey::Core::Client
  class Real
    def get_ssl_certificates(params={})
      query = Ey::Core.paging_parameters(params)
      url = params.delete("url")

      request(
        :params => params,
        :query  => query,
        :path   => "/ssl_certificates",
        :url    => url,
      )
    end
  end # Real
  class Mock
    def get_ssl_certificates(params={})
      extract_url_params!(params)

      headers, ssl_certificates_page = search_and_page(params, :ssl_certificates, search_keys: %w[account name])

      response(
        :body    => {"ssl_certificates" => ssl_certificates_page},
        :status  => 200,
        :headers => headers
      )
    end
  end # Mock
end

Version data entries

53 entries across 53 versions & 3 rubygems

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