Sha256: 27ce4ba1ae6f34debd0f2712b5cba972165514425d451ffa715f9192ca225db1

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

module Flakey
  module Stackoverflow
    def stackoverflow_nickname(options = {})
      options[:nickname] || Flakey.configuration.default_stackoverflow_nickname
    end

    def stackoverflow_profile_url(options = {})
      user_id = Flakey.configuration.default_stackoverflow_user_id
      "http://stackoverflow.com/users/#{user_id}/#{stackoverflow_nickname}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flakey-0.0.2 lib/flakey/stackoverflow.rb
flakey-0.0.1 lib/flakey/stackoverflow.rb