--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: authorize() is the first half of the preauth(authorize)/postauth(capture) model. The TC API docs call this preauth, we preserve active_merchant's nomenclature of authorize() for consistency with the rest of the library. This method simply checks to make sure funds are available for a transaction, and returns a transid that can be used later to postauthorize (capture) the funds.
full_name: ActiveMerchant::Billing::TrustCommerceGateway#authorize
is_singleton: false
name: authorize
params: (money, creditcard_or_billing_id, options = {})
visibility: public
