class SchemaDotOrg::Organization

Attributes

email[RW]
founder[RW]
founding_date[RW]
founding_location[RW]
name[RW]
same_as[RW]
url[RW]

Public Instance Methods

_to_json_struct() click to toggle source
# File lib/schema_dot_org/organization.rb, line 29
def _to_json_struct
  {
    'name' => name,
    'email' => email,
    'url' => url,
    'logo' => logo,
    'founder' => founder.to_json_struct,
    'foundingDate' => founding_date.to_s,
    'foundingLocation' => founding_location.to_json_struct,
    'sameAs' => same_as
  }
end