Sha256: f9020011e2ace479bc037aca60f7bec0f01ef1792f68d3ac13d1d32821710a63

Contents?: true

Size: 1.24 KB

Versions: 9

Compression:

Stored size: 1.24 KB

Contents

########    #######    ########    #######    ########    ########
##     / / / /    License    \ \ \ \ 
##    Copyleft culture, Copyright (C) is prohibited here
##    This work is licensed under a CC BY-SA 4.0
##    Creative Commons Attribution-ShareAlike 4.0 License
##    Refer to the http://creativecommons.org/licenses/by-sa/4.0/
########    #######    ########    #######    ########    ########
##    / / / /    Code Climate    \ \ \ \ 
##    Language = ruby
##    Indent = space;    4 chars;
########    #######    ########    #######    ########    ########
module ArchestryLookup
  module Objects
    class << self
      
      def lookup_pre(args, state)
        true
      end
      
      def lookup_post(args, state)
        true
      end      
      
      
      def lookup_post2(args, state)
#         pp args[:folders]
        args[:views][:mtype].each do |modelType, ids| 
          ids.each do |id|
            args[:views][:id][id].each do |viewId, viewProps|
              ArchestryLookup.logger.debug "ArchestryLookup_lookup RUN instance '' view '#{viewProps}' ver."
              lookup_run(args, ArchestryLookup::Schema.getObjLookupSchema, state, modelType, id)
            end
          end
        end
      end
      
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
archestry_lookup-0.0.19 lib/context/archestry/prepost.rb
archestry_lookup-0.0.18 lib/context/archestry/prepost.rb
archestry_lookup-0.0.17 lib/context/archestry/prepost.rb
archestry_lookup-0.0.16 lib/context/archestry/prepost.rb
archestry_lookup-0.0.15 lib/context/archestry/prepost.rb
archestry_lookup-0.0.14 lib/context/archestry/prepost.rb
archestry_lookup-0.0.13 lib/context/archestry/prepost.rb
archestry_lookup-0.0.12 lib/context/archestry/prepost.rb
archestry_lookup-0.0.11 lib/context/archestry/prepost.rb