Class: FBCLI::Configure

Inherits:
Object
  • Object
show all
Defined in:
lib/fbcli/configure.rb

Instance Method Summary collapse

Constructor Details

#initializeConfigure

Returns a new instance of Configure.



3
4
5
6
7
# File 'lib/fbcli/configure.rb', line 3

def initialize
  oauth_access_token = ask("Oauth Access Token (Copy here: https://developers.facebook.com/tools/explorer): ")
  `echo "oauth_access_token: #{oauth_access_token}" > ~/.fbcli.yml`
  puts "Configured ~/.fbcli.yml"
end