Sha256: e6bceaf63524a6626acbbd2ec98cdf7539e49cd117a5fdf85a8f4bab9fd87d19
Contents?: true
Size: 390 Bytes
Versions: 36
Compression:
Stored size: 390 Bytes
Contents
class Ey::Core::Client class Real def get_token(options={}) id = options.delete("id") url = options.delete("url") request( :path => "tokens/#{id}", :url => url, ) end end class Mock def get_token(options={}) response( :body => {"token" => self.find(:tokens, resource_identity(options))}, ) end end end
Version data entries
36 entries across 36 versions & 2 rubygems