Class: Rialto::Etl::Readers::StanfordOrganizationsJsonReader

Inherits:
TrajectPlus::JsonReader
  • Object
show all
Defined in:
lib/rialto/etl/readers/stanford_organizations_json_reader.rb

Overview

Read JSON that maps to Stanford orgs

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ String

Overrides the implementation inherited from superclass

Parameters:

  • block (#call)

    a block that is executed on each organization

Returns:

  • (String)

    JSON representation of an organization



15
16
17
# File 'lib/rialto/etl/readers/stanford_organizations_json_reader.rb', line 15

def each(&block)
  yield_children(json, block)
end