Sha256: 6fc0c373d189353d91d400323b1535fe38d3e997c5882fd950f54ec49e5812c5

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

class MyModel
  validates :favourite_website_url, uri_format: { resolvability: :retrievable }
  validates :resume_cv_url, uri_format: { resolvability: :reachable }
  validates :friend_website_url, uri_format: { scheme: %w[http https ftp] }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uri_format_validator-0.1.0 examples/basic.rb