Sha256: 45b8ebe35d76d20bb9d33d0bce77197daafbbe4c892d6c39a546d13a19c1fe61

Contents?: true

Size: 465 Bytes

Versions: 7

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

7 entries across 7 versions & 1 rubygems

Version Path
stairs-0.9.0 lib/stairs/steps/facebook.rb
stairs-0.8.0 lib/stairs/steps/facebook.rb
stairs-0.7.1 lib/stairs/steps/facebook.rb
stairs-0.7.0 lib/stairs/steps/facebook.rb
stairs-0.6.1 lib/stairs/steps/facebook.rb
stairs-0.6.0 lib/stairs/steps/facebook.rb
stairs-0.5.1 lib/stairs/steps/facebook.rb