Module moonwalk.api.class
API class.
Extends the proto object.
Functions
| constructor (title, operations) | Instantiate an API class. | 
Functions
- constructor (title, operations)
- 
    Instantiate an API class.
 This function is not meant to be called directly (see proto.constructor ).
    
    Parameters:- title Short description of the module.
- operations Table containing operations.
 Usage:local api = require "moonwalk/api" api.class "Customer Transactions" { post = api.operation [[ ... ]] .. function(customer, amount) -- ... end, }