Sha256: 82db38a4d128bb6ffb994e9a6d5bf94e9ced45fbe797a6ec9514f9035f310a54

Contents?: true

Size: 333 Bytes

Versions: 19

Compression:

Stored size: 333 Bytes

Contents

class SelectPath
  def initialize()
  end

  def select_path(mode, teams_url)
    case mode
    when "teams"
      qiita = teams_url
      path = "api/v2/items?page=1&per_page=100"
    else
      qiita = "https://qiita.com/"
      path = "api/v2/authenticated_user/items?page=1&per_page=100"
    end
    return qiita, path
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
qiita_org-0.2.2 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.2.1 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.1.41 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.1.40 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.1.39 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.1.38 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.1.37 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.1.35 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.1.34 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.1.33 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.1.32 lib/qiita_org/old_programs/select_path.rb
qiita_org-0.1.31 lib/qiita_org/select_path.rb
qiita_org-0.1.30 lib/qiita_org/select_path.rb
qiita_org-0.1.29 lib/qiita_org/select_path.rb
qiita_org-0.1.28 lib/qiita_org/select_path.rb
qiita_org-0.1.27 lib/qiita_org/select_path.rb
qiita_org-0.1.26 lib/qiita_org/select_path.rb
qiita_org-0.1.25 lib/qiita_org/select_path.rb
qiita_org-0.1.24 lib/qiita_org/select_path.rb