Sha256: c37b69847a1cdf5c2938c897830a42045bfcf64214a57cd951e148c69c4cad1f

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

module Stairs
  module Steps
    class Facebook < Stairs::Step
      title 'Facebook App'
      description 'Configure credentials for Facebook app'

      def run
        env id_name, provide('Facebook App ID')
        env secret_name, provide('Facebook App Secret')
      end

      private

      def id_name
        options[:app_id] || 'FACEBOOK_ID'
      end

      def secret_name
        options[:app_secret] || 'FACEBOOK_SECRET'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stairs-0.10.0 lib/stairs/steps/facebook.rb