Sha256: 14924764398a2b27c1d6cd71dc034e56fb2c1b7ac114a4d4334609ba267cd97b

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

require 'date'

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


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

puts public_law

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
schema_dot_org-1.0.1 test-script.rb