Sha256: b684f3924c65e4625ae6052b45e028245f068b13b3f5385fc3b43ba86a0fcbd2
Contents?: true
Size: 666 Bytes
Versions: 35
Compression:
Stored size: 666 Bytes
Contents
class Ey::Core::Client class Real def get_blueprints(params={}) query = Ey::Core.paging_parameters(params) url = params.delete("url") request( :path => "/blueprints", :params => params, :query => query, :url => url, ) end end class Mock def get_blueprints(params={}) extract_url_params!(params) headers, blueprints_page = search_and_page(params, :blueprints, search_keys: %w[account environment environment_id name]) response( :body => {"blueprints" => blueprints_page}, :status => 200, :headers => headers, ) end end end
Version data entries
35 entries across 35 versions & 2 rubygems