Sha256: dcb3f895ab1f6a54d19f835410074f3a147152f9233b98c3651863f25a64b1b5
Contents?: true
Size: 375 Bytes
Versions: 53
Compression:
Stored size: 375 Bytes
Contents
class Ey::Core::Client class Real def get_api_token(username, password) request( :path => "tokens", :method => :post, :body => {email: username, password: password}, ) end end class Mock def get_api_token(username, password) response( :body => {"api_token" => self.api_token} ) end end end
Version data entries
53 entries across 53 versions & 3 rubygems