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