Sha256: 3beb29e8920b517505e6660f2bb155ca9585fcd38b2f277c24b0db55b2f099f6

Contents?: true

Size: 674 Bytes

Versions: 2

Compression:

Stored size: 674 Bytes

Contents

require 'date'

require 'schema_dot_org/person'
require 'schema_dot_org/place'
require 'schema_dot_org/organization'
require 'schema_dot_org/web_site'
include SchemaDotOrg


public_law = Organization.new(
  name:             'Public.Law',
  founder:           Person.new(name: 'Robb Shecter'),
  founding_date:     Date.new(2009, 3, 6),
  founding_location: Place.new(address: 'Portland, OR'),
  email:            'say_hi@public.law',
  url:              'https://www.public.law',
  logo:             'https://www.public.law/favicon-196x196.png',
  )

site_info = WebSite.new(
  name: 'Texas Public Law',
  url:  'https://texas.public.law'
)

puts site_info
puts public_law

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schema_dot_org-1.5.0 test-script.rb
schema_dot_org-1.3.0 test-script.rb