README.md in securetrading-0.3.2 vs README.md in securetrading-0.4.0

- old
+ new

@@ -34,9 +34,17 @@ c.password = 'password' c.site_reference = 'site1234' end ``` +Alternatively you may pass configuration options directly to request. + +``` +> config = { user: 'user', passowrd: 'password', site_reference: 'ref' } +> ref = Securetrading::Refund.new(11, '1-9-1912893', { merchant: { orderreference: 'order2'}, account_type: 'CFT' }, config) +> ref.perform +``` + ### Supported Api requests Currently supported methods: #### REFUND