Sha256: 5f8c60b74a0cba950c38982430ce7a307e6baba5b6a8f0f4591893e7c856d65d
Contents?: true
Size: 467 Bytes
Versions: 54
Compression:
Stored size: 467 Bytes
Contents
class Ey::Core::Client class Real def get_address(params={}) id = params["id"] url = params["url"] request( :path => "addresses/#{id}", :url => url ) end end # Real class Mock def get_address(params={}) identity = resource_identity(params) address = self.data[:addresses][identity] response( :body => {"address" => address}, ) end end # Mock end # Ey::Core::Client
Version data entries
54 entries across 54 versions & 3 rubygems