mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
(#3) Add initial formatter class
This commit is contained in:
parent
c738b0c566
commit
76a2d23973
2 changed files with 8 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ require 'vmfloaty/auth'
|
|||
require 'vmfloaty/pooler'
|
||||
require 'vmfloaty/version'
|
||||
require 'vmfloaty/conf'
|
||||
require 'vmfloaty/format'
|
||||
|
||||
class Vmfloaty
|
||||
include Commander::Methods
|
||||
|
|
|
|||
7
lib/vmfloaty/format.rb
Normal file
7
lib/vmfloaty/format.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
class Format
|
||||
# TODO: Takes the json response body from an HTTP GET
|
||||
# request and "pretty prints" it
|
||||
def self.get_hosts(hostname_hash)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue