tmoney

A simple client for T-money.

How to use

The following is the example which demonstrates how to use T-money client. To test this code, you need to change <USERNAME> and <PASSWORD> to your own username and password.

require 'tmoney'

client = Tmoney::Client.new
client.connect('<USERNAME>', '<PASSWORD>')
cards = client.cards
puts '== My Cards', cards
puts '== Transactions', cards[0].transactions

It will produce the following output:

== My Cards