Sha256: 07f888b440b57080c467ff51c890971024891566f326b11df1cb565c0206c07f

Contents?: true

Size: 285 Bytes

Versions: 32

Compression:

Stored size: 285 Bytes

Contents

#!/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

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
nationbuilder-rb-1.6.2 bin/nbdoc
nationbuilder-rb-1.6.1 bin/nbdoc
nationbuilder-rb-1.6.0 bin/nbdoc
nationbuilder-rb-1.5.0 bin/nbdoc
nationbuilder-rb-1.4.3 bin/nbdoc
nationbuilder-rb-1.4.2 bin/nbdoc
nationbuilder-rb-1.4.1 bin/nbdoc
nationbuilder-rb-1.3.9 bin/nbdoc
nationbuilder-rb-1.3.7 bin/nbdoc
nationbuilder-rb-1.3.6 bin/nbdoc
nationbuilder-rb-1.3.5 bin/nbdoc
nationbuilder-rb-1.3.4 bin/nbdoc
nationbuilder-rb-1.3.3 bin/nbdoc
nationbuilder-rb-1.3.2 bin/nbdoc
nationbuilder-rb-1.3.1 bin/nbdoc
nationbuilder-rb-1.3.0 bin/nbdoc
nationbuilder-rb-1.2.3 bin/nbdoc
nationbuilder-rb-1.2.2 bin/nbdoc
nationbuilder-rb-1.2.1 bin/nbdoc
nationbuilder-rb-1.2.0 bin/nbdoc