Class: Harkness::URL

Inherits:
Shale::Mapper
  • Object
show all
Defined in:
lib/harkness/models/url.rb

Overview

A URL.

Instance Attribute Summary collapse

Instance Attribute Details

#typeString (readonly)

Returns a text identifier for the URL.

Returns:

  • (String)

    a text identifier for the URL.



8
# File 'lib/harkness/models/url.rb', line 8

attribute :type, Shale::Type::String

#urlString (readonly)

Returns a full URL (including scheme, domain, and path).

Returns:

  • (String)

    a full URL (including scheme, domain, and path).



11
# File 'lib/harkness/models/url.rb', line 11

attribute :url, Shale::Type::String