Sha256: 316c5443180025aee18096eddca1189cb69d08f0fc64f68c637a0c2d42463cb1
Contents?: true
Size: 404 Bytes
Versions: 34
Compression:
Stored size: 404 Bytes
Contents
class Ey::Core::Client class Real def get_blueprint(params={}) id = params.delete("id") url = params.delete("url") request( :path => "blueprints/#{id}", :url => url, ) end end class Mock def get_blueprint(params={}) response( :body => {"blueprint" => self.find(:blueprints, resource_identity(params))} ) end end end
Version data entries
34 entries across 34 versions & 2 rubygems