Sha256: ade58dc002bc6e6acd9e1997ef3832675e5d69e4a7d304b43effb8c2f48786e0
Contents?: true
Size: 486 Bytes
Versions: 54
Compression:
Stored size: 486 Bytes
Contents
class Ey::Core::Client class Real def create_token(params={}) request( :method => :post, :path => "tokens", :params => params, ) end end # Real class Mock def create_token(params={}) response( :body => {"token" => {"auth_id" => self.uuid}}, :status => 201, :headers => { "Content-Type" => "application/json; charset=utf8" } ) end end # Mock end # Ey::Core::Client
Version data entries
54 entries across 54 versions & 3 rubygems