Module: CureLine::ResourceMethods
Instance Method Summary collapse
Instance Method Details
#resource_url(resource_id) ⇒ Object
3 4 5 6 7 |
# File 'lib/cure_line/resource_methods.rb', line 3 def resource_url(resource_id) raise ArgumentError, "resource_id is required" unless resource_id "https://obs.line-scdn.net/#{resource_id}" end |