class Fontist::Utils::GitHubUrl::ParsedUrl
Attributes
Public Class Methods
Source
# File lib/fontist/utils/github_url.rb, line 41 def self.from_non_github_url(original_url) new(owner: nil, repo: nil, tag: nil, asset: nil, original_url: original_url) end
Source
# File lib/fontist/utils/github_url.rb, line 33 def initialize(owner:, repo:, tag:, asset:, original_url:) @owner = owner @repo = repo @tag = tag @asset = asset @original_url = original_url end