Class: FBCLI::Configure
- Inherits:
-
Object
- Object
- FBCLI::Configure
- Defined in:
- lib/fbcli/configure.rb
Instance Method Summary collapse
-
#initialize ⇒ Configure
constructor
A new instance of Configure.
Constructor Details
#initialize ⇒ Configure
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 |