Sha256: 103495a374e2cace792af6f7894e64979d7f943b2ec05671a698735b1cff1b2a
Contents?: true
Size: 282 Bytes
Versions: 19
Compression:
Stored size: 282 Bytes
Contents
module PublishMyData module Concerns module Models module Resource extend ActiveSupport::Concern # Is this resource in the host domain? def in_domain?(domain) uri.starts_with?("http://" + domain) end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems