class SchemaDotOrg::WebSite

Model the Schema.org `Thing > CreativeWork > WebSite`. @See schema.org/WebSite

Attributes

name[RW]
potential_action[RW]
url[RW]

Public Instance Methods

_to_json_struct() click to toggle source
# File lib/schema_dot_org/web_site.rb, line 16
def _to_json_struct
  {
    'name' => name,
    'url' => url,
    'potentialAction' => potential_action&.to_json_struct
  }
end