Sha256: 5138db1e19da393ffe4295bf034d5e684944b35e0fc5cf3f6cf3e66960c512b7

Contents?: true

Size: 215 Bytes

Versions: 6

Compression:

Stored size: 215 Bytes

Contents

module CureLine
  module ResourceMethods
    def resource_url(resource_id)
      raise ArgumentError, "resource_id is required" unless resource_id

      "https://obs.line-scdn.net/#{resource_id}"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cure_line-1.0.1 lib/cure_line/resource_methods.rb
cure_line-1.0.0 lib/cure_line/resource_methods.rb
cure_line-0.1.3 lib/cure_line/resource_methods.rb
cure_line-0.1.2 lib/cure_line/resource_methods.rb
cure_line-0.1.1 lib/cure_line/resource_methods.rb
cure_line-0.1.0 lib/cure_line/resource_methods.rb