Closed janklimo closed 4 years ago
You don't need to specify an alias if the input to path is a URL that already matches the base of the generated URL:
path
client = Cloudimage::Client.new(token: 'token') client.path('https://token.cloudimg.io/v7/image.jpg').to_url(w: 200) => "https://token.cloudimg.io/v7/image.jpg?w=200"
Closes #22
You don't need to specify an alias if the input to
path
is a URL that already matches the base of the generated URL:Closes #22