module Monzo::Client::Ping

Overview

Exposes the #ping method, presumably for diagnostic purposes.

Direct including types

Defined in:

monzo/client/ping.cr

Instance Method Summary

Instance Method Detail

def ping #

Fires a simple #ping request at Monzo and returns true if successful.

client = Monzo.new("API_TOKEN")
client.ping # => true

[View source]