def get_network_by_name(organization, networkName)
      result = nil

      organization[:networks].each do |network|
        if network[0].downcase == networkName.downcase
          result = get_network(network[1])
        end
      end

      result
    end
def get_network_by_name(organization, networkName)
      result = nil

      organization[:networks].each do |network|
        if network[0].downcase == networkName.downcase
          result = get_network(network[1])
        end
      end

      result
    end
def get_network_by_name ( organization , networkName ) result = nil organization [ :networks ] . each do | network | if network [ 0 ] . downcase == networkName . downcase result = get_network ( network [ 1 ] ) end end result end
Friendly helper method to fetch an network by name
 - organization hash (from get_organization/get_organization_by_name)
 - network name
Friendly helper method to fetch an network by name - organization hash ( from get_organization / get_organization_by_name ) - network name