Sha256: 8b75034e3226ce48b51529c15d4017267d5053c6c65a1f2cebbd0084ec7c405e
Contents?: true
Size: 648 Bytes
Versions: 15
Compression:
Stored size: 648 Bytes
Contents
class Ey::Core::Client class Real def get_addresses(params={}) query = Ey::Core.paging_parameters(params) url = params.delete("url") request( :params => params, :path => "/addresses", :query => query, :url => url, ) end end # Real class Mock def get_addresses(params={}) extract_url_params!(params) headers, addresses_page = search_and_page(params, :addresses, search_keys: %w[provisioned_id ip_address server location]) response( :body => {"addresses" => addresses_page}, :headers => headers ) end end # Mock end
Version data entries
15 entries across 15 versions & 1 rubygems