#!/usr/bin/env ruby # Prints out a description of all NationBuilder API endpoints. require 'nationbuilder' endpoint = ARGV.shift client = NationBuilder::Client.new('test-nation', 'test-key') if endpoint client.print_description(endpoint) else client.print_all_descriptions end