File: flags.rb

package info (click to toggle)
ruby-fog-google 1.29.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,160 kB
  • sloc: ruby: 14,258; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
# All examples presume that you have a ~/.fog credentials file set up.
# More info on it can be found here: http://fog.io/about/getting_started.html

require "bundler"
Bundler.require(:default, :development)

connection = Fog::Google::SQL.new

puts "Listing all Flags..."
puts "--------------------"
connection.flags